版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
精選優(yōu)質(zhì)文檔-----傾情為你奉上精選優(yōu)質(zhì)文檔-----傾情為你奉上專心---專注---專業(yè)專心---專注---專業(yè)精選優(yōu)質(zhì)文檔-----傾情為你奉上專心---專注---專業(yè)基于單片機溫度監(jiān)測系統(tǒng)設(shè)計的外文翻譯第1頁外文文獻(xiàn)資料DistributedTemperatureSensor1.Sensorintroduction1.1TemperaturesensorbackgroundInthehumanlivingenvironment,temperatureplayinganextremelyimportantrole。Nomatterwhereyou文檔來自于網(wǎng)絡(luò)搜索live,engagedinanywork,ever-presentdealtwithtemperatureunder.Sincethe18thcentury,industry文檔來自于網(wǎng)絡(luò)搜索sincetheindustrialrevolutiontowhethercanmastersendexhibitionhastheabsolutetemperaturetouch.文檔來自于網(wǎng)絡(luò)搜索Inmetallurgy,steel,petrochemical,cement,glass,medicineindustryandsoon,cansayalmosteighty文檔來自于網(wǎng)絡(luò)搜索percentofindustrialdepartmentshavetoconsiderthefactorswithtemperature.Temperatureforindustrial文檔來自于網(wǎng)絡(luò)搜索soimportant,thuspromotingthedevelopmentofthetemperaturesensor.1.2TemperaturesensordevelopmentMajorgeneralthroughthreesensordevelopmentphase:analogintegratedtemperaturesensor.The文檔來自于網(wǎng)絡(luò)搜索sensoristakenwithsiliconsemiconductorintegratedworkmanship,thereforealsocalledsiliconsensoror文檔來自于網(wǎng)絡(luò)搜索monolithicintegratedtemperaturesensor.Suchsensinginstrumentshavesinglefunction(onlymeasuring文檔來自于網(wǎng)絡(luò)搜索temperature),temperaturemeasurementerrorissmaller,pricelow,fastresponse,thetransmission文檔來自于網(wǎng)絡(luò)搜索distance,smallvolume,micro-consumptionelectronicetc,suitableforlongdistancemeasurement文檔來自于網(wǎng)絡(luò)搜索temperature,temperaturecontrol,donotneedtoundertakenonlinearcalibration,peripheralcircuitis文檔來自于網(wǎng)絡(luò)搜索simple.Itiscurrentlythemostcommonapplicationathomeandabroad,anintegratedsensor。Typical文檔來自于網(wǎng)絡(luò)搜索productshaveAD590AD592,TMP17,LM135,etc.jAnalogintegratedtemperaturecontroller.Analog文檔來自于網(wǎng)絡(luò)搜索integratedtemperaturecontrollermainlyincludetemperaturecontrolswitch,programmabletemperature文檔來自于網(wǎng)絡(luò)搜索controller,atypicalproducthaveLM56,AD22105andMAX6509.Someincreasestrengthtypeintegrated文檔來自于網(wǎng)絡(luò)搜索temperaturecontroller(forexampleTC652/653)alsocontainstheA/Dconverterandcuregoodsequence,文檔來自于網(wǎng)絡(luò)搜索thisprocesswiththeintelligenttemperaturesensorsomesimilarities.Butitisnotitssystem,workbymicro文檔來自于網(wǎng)絡(luò)搜索processingdevicecontrol,thisisthemaindifferencebetween.Ielligent文檔來自于網(wǎng)絡(luò)搜索temperaturesensor(alsocalleddigitaltemperaturedegreessensor)isinthemid1990slaunch.Itis文檔來自于網(wǎng)絡(luò)搜索microelectronicstechnology,computertechnologyandthedynamictestingtechnology(ATE)crystallization.文檔來自于網(wǎng)絡(luò)搜索Intelligenttemperaturesensorinternalcontaintemperaturesensor,A/Dconverter,signalprocessor,第2頁memory(orregisters)andinterfacecircuit.Someproductsstilltakemultiplexer,centralcontrolsystem文檔來自于網(wǎng)絡(luò)搜索device(CPU),randomaccessmemory(RAM)andreadonlymemory(ROM).Intelligenttemperaturesensor文檔來自于網(wǎng)絡(luò)搜索ischaracteristicoftemperaturedataandrelevantcanoutputthetemperaturecontrolofthequantity,文檔來自于網(wǎng)絡(luò)搜索adaptationvariousmicrocontroller(MCU);1.3SinglepointandmoretemperaturesensorThedevelopmenttrendofthetemperaturesensor.Inthe21stcentury,thetemperaturesensoris文檔來自于網(wǎng)絡(luò)搜索headedinhighprecision,multi-function,bus,standardization,highreliabilityandsafety,developmentof文檔來自于網(wǎng)絡(luò)搜索virtualsensorandnetworksensor,researchmonolithictemperaturemeasuringsystemandotherhigh-tech文檔來自于網(wǎng)絡(luò)搜索directiondeveloprapidly.Sensorsintheapplicationtemperaturecontrollingsystem.Currentmarketexists文檔來自于網(wǎng)絡(luò)搜索mainlysinglepointandmoretwotemperaturemeasurement.Forsinglepointtemperaturefoundment文檔來自于網(wǎng)絡(luò)搜索instrument,mainlyadoptsthetraditionalanalogintegratedtemperaturesensor,whichheatresistance,文檔來自于網(wǎng)絡(luò)搜索thermocouplesensorsmeasuringaccuracy,highmeasurementrange,andgotthegeneralapplication.This文檔來自于網(wǎng)絡(luò)搜索productistemperaturemeasuringrange℃~200mostlybetween800℃,resolution12th,andleast文檔來自于網(wǎng)絡(luò)搜索distinguishabletemperaturein0.001~0.01between.CabinLEDdisplaymodule,showsrangingfrom4to文檔來自于網(wǎng)絡(luò)搜索16.Someinstrumentsalsohasmemoryfunction,canstoreseveralhundredtoafewthousandsetsofdata.文檔來自于網(wǎng)絡(luò)搜索Thisinstrumentcanbeverygoodmeetasingleusersingle-pointmeasurementneeds.Moretemperature文檔來自于網(wǎng)絡(luò)搜索measurement,relativeandsinglepointmeasurementprecisionhascertaingap,althoughrealizedthe文檔來自于網(wǎng)絡(luò)搜索multi-channeltemperaturemeasurementandcontrol,butthepriceisexpensive.Inviewofthepresent文檔來自于網(wǎng)絡(luò)搜索marketsituation,proposedthistopiccansatisfyrequirements,scalableandcost-effectivesingle-chip文檔來自于網(wǎng)絡(luò)搜索multi-channeltemperaturemeasuringsystem.ThroughthefirsttemperaturesensorDS18B20acquisition,文檔來自于網(wǎng)絡(luò)搜索andthenthroughtheC51SCMprocessinganddisplayedonthedigitaltube,canbecollectedindoorora文檔來自于網(wǎng)絡(luò)搜索greenhousearoundindifferentlocationsofthetemperature,withfourdigitaltubetodisplay.Thefirst文檔來自于網(wǎng)絡(luò)搜索digitalpipedisplayacquisitioniswhichway,whichchannel.Threedigitalpipedisplayaftertheacquisition文檔來自于網(wǎng)絡(luò)搜索channelbytemperature,accurateto0.1degrees.2.Thesystemrealizedandrelatedtechnologies2.1.ThesystemisrealizedBythewholecontrolsystemforcoreAT89C51,usingfourwaysoftemperaturesensorDS18B20in文檔來自于網(wǎng)絡(luò)搜索productionsitefordistributionareaoffourdifferenttemperaturemeasurementresultwiththechip文檔來自于網(wǎng)絡(luò)搜索checking,collationstoreanddisplay,andthroughthebuttoncontrol,temperaturewillprocessafterthe第3頁LEDdigitaldisplaytocomeout,andthesoftwareassurancesystemanti-interferencecapacity。fourDS1820文檔來自于網(wǎng)絡(luò)搜索connectedtoMCUrespectively,thisschemefourIOmouthoccupyMCUfourIOthough,butthe文檔來自于網(wǎng)絡(luò)搜索microcontrollerIOmouthundertheconditionofmouthnotshortagebythisschemegreatlysimplify文檔來自于網(wǎng)絡(luò)搜索programmingdifficulty,shortenthedesigncycle,alsocanguaranteethestabilityofthesystem.A文檔來自于網(wǎng)絡(luò)搜索multipointconnectionasshown“1-1”1-1multipointconnection2.2.AT89C51ChipintroductionAT89C51isa4KbytesFLASHMemory(ErasableProgrammableandFPEROM-FLASHforthecampaigns文檔來自于網(wǎng)絡(luò)搜索with)lowvoltage,high-performanceCMOSeightmicroprocessors,commonlyknownasthemicrocontroller.文檔來自于網(wǎng)絡(luò)搜索AT89C2051isa2Kbyteswithflashmemorycanbeerasedprogrammableread-onlymemory,SCMcan文檔來自于網(wǎng)絡(luò)搜索eraseread-onlymemorycanberepeatederased1000times.ThisdeviceadoptsATMELhigh-density文檔來自于網(wǎng)絡(luò)搜索non-volatilememorymanufacturingtechnologymanufacturing,andindustrialstandardMCS-51文檔來自于網(wǎng)絡(luò)搜索instructionsetandoutputtubecompatible.Duetothemultifunctional8bitsCPUandwillbeflashingon文檔來自于網(wǎng)絡(luò)搜索singlechipcombinationofmemory,ATMELAT89C51isakindofhighefficientmicrocontroller,AT89C2051文檔來自于網(wǎng)絡(luò)搜索isastreamlinedversion.AT89C51microcontrollerasmanyembeddedcontrolsystem.Arrangeappearance文檔來自于網(wǎng)絡(luò)搜索andpinasshowninfigure"1-2"shownDS1820DS1820DS1820DS1820AT89C51MCUP1.0P1.1P1.2P1.3P3.4DisplayelementButtoncontrolunit第4頁1-2AT89C51pinsfigureMajorfeatures:文檔來自于網(wǎng)絡(luò)搜索·andMCS-51compatible·4KbytesprogrammableFLASHmemory·life:1000write/wipecycle·dataretentiontime:10years·thestaticjob:0Hz-24MHz·level3programmemorylock·128x8bitsinternalRAM·32programmableI/Olines·two16timer·5interruptsource·programmableserialchannels·lowpowerconsumptionofidleandpowerlostmode文檔來自于網(wǎng)絡(luò)搜索·pieceinsideoscillatorandclockcircuitTubefeetexplains:VCC:powersupplyvoltage.GND:grounded.P0Mouth:P0mouthaeightleakleveltwo-wayI/Omouthopen,everyfootcanabsorb8TTLgate文檔來自于網(wǎng)絡(luò)搜索current.WhenthepipemouthP0feetfirstwrite1,definedashighresistanceinput.P0canbeusedfor第5頁externalprogramdatastorage,itcanbedefinedastheeighthdata/address.InFIASHprogramming,P0文檔來自于網(wǎng)絡(luò)搜索mouthasthesource-codeinputport,whenFIASHcheck,thesource-codeP0output,whenP0external文檔來自于網(wǎng)絡(luò)搜索mustbepulled.P1mouth:mouthisaninternalP1providepull-upresistors8-bittwo-wayI/Omouth,P1mouthbuffer文檔來自于網(wǎng)絡(luò)搜索canreceive4TTLgatecurrentoutput.P1mouthtubefeet,wasthenwrite1forhigh,pullupinsidecanbe文檔來自于網(wǎng)絡(luò)搜索usedasinput,P1mouthbeexternalpulldownforlowelectricityatordinarytimes,willoutputcurrent,this文檔來自于網(wǎng)絡(luò)搜索isduetointernalpullupsake.InFLASHprogrammingandcalibration,P1mouthaseighthaddressto文檔來自于網(wǎng)絡(luò)搜索receive.P2mouth:foraninternalP2mouthonthe8-bitpull-upresistorstwo-wayI/Oport,P2mouthtoreceive,文檔來自于網(wǎng)絡(luò)搜索theoutputbuffer4TTLgatecurrent,whenP2mouthiswritten"1",itstubefeetareinternalpull-up文檔來自于網(wǎng)絡(luò)搜索resistors,andpushasinput.Andsoastheinput,P2mouthfeetareexternaldowntube,willoutputcurrent.文檔來自于網(wǎng)絡(luò)搜索Thisisduetointernalpullupsake.P2mouthwhenusedexternalprogrammemoryor16addressexternal文檔來自于網(wǎng)絡(luò)搜索datamemoryaccess,P2mouthhighoutputaddresseight.Inagivenaddress"1",itusinginternaland文檔來自于網(wǎng)絡(luò)搜索external8addressadvantage,whenforreadingandwritingdatamemory,P2whenthespecialfunction文檔來自于網(wǎng)絡(luò)搜索registersmouthoutputofcontent.P2mouthinFLASHprogrammingandthecalibrationeightaddress文檔來自于網(wǎng)絡(luò)搜索whenreceivinghighsignalandcontrolsignals.P3mouth:P3mouthpipeis8feetwithinternalpull-upresistorstwo-wayI/Oport,mayreceivefourTTL文檔來自于網(wǎng)絡(luò)搜索gatecurrentoutput.WhenP3mouthwriting"1",theyareinternalandhighlevel,andusedasinput.As文檔來自于網(wǎng)絡(luò)搜索input,duetoexternaldrop-downforlowlevel,P3mouthwilloutputcurrent(ILL)thisisduetopullup's文檔來自于網(wǎng)絡(luò)搜索sake.RST:resetinput.WhenoscillatorresetdevicetokeepRSTfeethighleveltwomachinecycletime.文檔來自于網(wǎng)絡(luò)搜索ALE/PROG:whenaccessexternalstorage,addresslatchallowstheoutputlevelofthepositionforlatch文檔來自于網(wǎng)絡(luò)搜索addressbyte.DuringtheFLASHprogramming,thispinforinputprogrammingpulse.Inpeacetime,theALE文檔來自于網(wǎng)絡(luò)搜索withaconstantfrequencycycleoutputisthepulsesignal,thefrequenciesofthe1/6oscillatorfrequency.文檔來自于網(wǎng)絡(luò)搜索Soitcanbeusedagainstexternaloutputpulseorusedfortimingpurpose.Howeveritis:wheneverused文檔來自于網(wǎng)絡(luò)搜索forexternaldatastorage,willskipaALEpulse.IfyouwanttobantheALEoutputcanbeinSFR8EHaddress文檔來自于網(wǎng)絡(luò)搜索for0.Atthistime,onlybyperformingtheALEMOVX,MOVCinstructionisALEtotakeeffect.Inaddition,文檔來自于網(wǎng)絡(luò)搜索thepinswereslightlyup.IfmicroprocessorinexternalexecutionALE,buyabanisinvalid.文檔來自于網(wǎng)絡(luò)搜索/PSEN:externalprogrammemorychoiceofcommunicationnumber.Byexternalprogrammemoryin文檔來自于網(wǎng)絡(luò)搜索duringtheinstructionfetch,eachmachinecycletwice/PSENeffective.Butonavisittoexternaldata文檔來自于網(wǎng)絡(luò)搜索storage,thetwoeffective/PSENsignalswillnotappear.文檔來自于網(wǎng)絡(luò)搜索/EA/VPP:when/EAkeeplowlevelsinthisperiod,theexternalprogrammemory(0000H-FFFFH),文檔來自于網(wǎng)絡(luò)搜索whetherhaveinternalprogrammemory.Noteencryptionmethod1,/EAwillRESETforinternalfocus;第6頁When/EAendkeephighelectricityatordinarytimes,internalprogrammemoryhere.DuringtheFLASH文檔來自于網(wǎng)絡(luò)搜索programming,thispinisalsousedVPP12Vprogrammingpower(on).文檔來自于網(wǎng)絡(luò)搜索XTAL1:theinvertingoscillatoramplifierinputandinputtotheinternalclockoperatingcircuit.文檔來自于網(wǎng)絡(luò)搜索XTAL2:fromreverseoscillatoroutput.2.3.DS18B20ChipintroductionDALLASlatestdigitaltemperaturesensorDS18B20profilenew"1-wiredevices"smaller,widerand文檔來自于網(wǎng)絡(luò)搜索voltageappliedtotheDALLASsemiconductorcompanymoreeconomicDS1820digitaltemperaturesensor文檔來自于網(wǎng)絡(luò)搜索istheworldthefirstpieceofsupport"1-wirebus"interfacetemperaturesensor.1-wirebusuniqueand文檔來自于網(wǎng)絡(luò)搜索economiccharacteristics,theusercaneasilyformsensornetworkformeasuringsystem,theconstruction文檔來自于網(wǎng)絡(luò)搜索ofanewconceptintroduction.DS18B20"1-wirebus"withDS1820digitaltemperaturesensorDS18B20文檔來自于網(wǎng)絡(luò)搜索alsosupport"as1-wirebus"interface,measuringtemperaturerangefor-55°C~+125°C,in-10~文檔來自于網(wǎng)絡(luò)搜索+85°Crange,precision°Cfor+0.5.Scenein"1-wirebustemperaturedirectlythedigitalmode,"文檔來自于網(wǎng)絡(luò)搜索cangreatlyimprovethesystemofanti-jamming.Suitableforthesceneinthebadenvironmenttemperaturemeasurement,suchas:environmentcontrol,文檔來自于網(wǎng)絡(luò)搜索equipmentorprocesscontrol,temperaturemeasurementofconsumerelectronics,etc.Andtheprevious文檔來自于網(wǎng)絡(luò)搜索generationproductisdifferent,thenewproductsupport3V~5.5Vvoltagerange,makethesystemdesign文檔來自于網(wǎng)絡(luò)搜索moreflexiblyandconveniently.Butanewgenerationofproductscheaper,smaller.DS18B20canprogram文檔來自于網(wǎng)絡(luò)搜索sets9~12resolution,precision°Cfor+0.5.Optionalsmallerencapsulationway,morewidevoltage文檔來自于網(wǎng)絡(luò)搜索range.Resolutionsetting,anduserssetalarmtemperatureEEPROM,storedinpowerlostandstillsave.文檔來自于網(wǎng)絡(luò)搜索DS18B20performanceisthebestproductofnewgeneration!Performancetopricealsoisverygood!文檔來自于網(wǎng)絡(luò)搜索DS18B20Newperformance:(1)dataavailablesupply,voltagerange:3.0~5.5V;文檔來自于網(wǎng)絡(luò)搜索(2)temperaturemeasuringrange:-55℃~+125in-10~+85℃to+0.5℃whenprecision;文檔來自于網(wǎng)絡(luò)搜索(3)programmableresolutionforthe9~12,thecorrespondingcandistinguishrespectively℃,the文檔來自于網(wǎng)絡(luò)搜索temperatureof0.5℃and0.125℃,by0.250.0625℃;文檔來自于網(wǎng)絡(luò)搜索(4)12resolutioninmost750mstemperatureintodigitalwithin;文檔來自于網(wǎng)絡(luò)搜索(5)negativepressurecharacteristics:poweratthepolarity,thermometerswon'tbecausewhenheating文檔來自于網(wǎng)絡(luò)搜索andburned,butcan'tworknormally.DS18B20Appearanceandinternalstructure:DS18B20internalstructureconsistsmainlyoffourparts:64-bitphotolithographyROM,temperature文檔來自于網(wǎng)絡(luò)搜索sensors,nonvolatiletemperaturealarmtriggersTHTL,configurationandregisters.DS18B20tubefeet第7頁arrangementis“1-3”internalstructureis“1-4”文檔來自于網(wǎng)絡(luò)搜索1-3DS18B20tubefeetarrangement(1)DQfordigitalsignalinput/outputterminal;文檔來自于網(wǎng)絡(luò)搜索(2)GNDforpower;(3)VDDforexternalpowersuppliesinput(inparasiticpowerconnectionmodegrounding).文檔來自于網(wǎng)絡(luò)搜索1-4internalstructure3.Debugsimulation3.1.ProtuesProteusisLabeenterelectronicscompanyresearchUKEDAsoftware.Proteusisnotonlytheanalogand文檔來自于網(wǎng)絡(luò)搜索digitalcircuit,d/ahybridcircuitdesignandsimulationplatform,butalsoiscurrentlytheworld'smost文檔來自于網(wǎng)絡(luò)搜索advanced,themostcompletevarioustypesofmicrocontrollersystemdesignandsimulationplatform.It第8頁reallyrealizedcompleteoncomputerschematicdesign,fromcircuitanalysisandsimulationandsingle-chip文檔來自于網(wǎng)絡(luò)搜索microcomputerandgradedebuggingandsimulation,codesystemtestandfunctionalverificationofthe文檔來自于網(wǎng)絡(luò)搜索PCBformationtocompletethedesignanddevelopmentprocessofelectronic.Proteusproductseriesalso文檔來自于網(wǎng)絡(luò)搜索containsarevolutionaryVSMtechnologybasedonmicrocontrol,canthedesignwithallperipheral文檔來自于網(wǎng)絡(luò)搜索electronicdevicesimulationtogether.FirststartProteusandProteuscomponentsfromthelibraryselection文檔來自于網(wǎng)絡(luò)搜索needdrawingdiagramandsetcomponent,thecorrespondingelementparametervalues3.2.KeilcKeilVision2isaboutthe8051seriesMCUKeilcompanyofdevelopmenttoolscanbeusedtocompileC文檔來自于網(wǎng)絡(luò)搜索sourcecode,assemblerssourceprogram,connectionandrelocationtargetfilesandlibraries,genbuilt:文檔來自于網(wǎng)絡(luò)搜索documents,debuggingpurposesprocedure,etc,itisakindofintegrationofdocumentmanagement文檔來自于網(wǎng)絡(luò)搜索compileenvironment.Itintegratesdocumenteditingprocessing,compileconnection,projectmanagement,文檔來自于網(wǎng)絡(luò)搜索window,toolscitedandsoftwarecopytruedebuggingandotherfunctions,isprettypowerfuldevelopment文檔來自于網(wǎng)絡(luò)搜索tool.Inkeilinsidecompile,theproceduresrequiredcommissioning3.3.alignment(1)detectionTCP/IP.文檔來自于網(wǎng)絡(luò)搜索(2)duplicatetheProteusinstallationdirectoryvdm51.Whofolderkeilc/C51/DLLtobindirectory.文檔來自于網(wǎng)絡(luò)搜索(3)modifytheinstallationdirectoryKeiltools.TDRV4=BIN,addtheDLL.VDM51.\文檔來自于網(wǎng)絡(luò)搜索(4)intheschematicdrawingProteus,in"Debugmenu,select"UseRemoteDebughand".文檔來自于網(wǎng)絡(luò)搜索(5)inopeninaprojectKeil,right-clickTarget1,choosefor-Target'Target1'.Intheopendialogbox文檔來自于網(wǎng)絡(luò)搜索select"De-bugTAB,selectanduseVSMProteusEmulatorsimulation(figure6shows),click"Ok文檔來自于網(wǎng)絡(luò)搜索"completeDebugSettings.6graph6suchKeilProteusandisconnected,thesimulationresultscanbe文檔來自于網(wǎng)絡(luò)搜索inProteusorKeil.ThiscircuitsystemUSES"1-wirebus"digitalsensorDS18B20torealizethe文檔來自于網(wǎng)絡(luò)搜索collectionoftemperature,usingsevensegmentdigitaltubedatashows.Willprogramandsimulation文檔來自于網(wǎng)絡(luò)搜索diagramrealizationcircuitconnected,simulation第9頁中文翻譯稿翻譯蘇州大學(xué)應(yīng)用技術(shù)學(xué)院07電子學(xué)號朱琳分布式溫度傳感器文檔來自于網(wǎng)絡(luò)搜索1傳感器簡介1.1溫度傳感器的背景在人類生活環(huán)境中溫度扮演著一個極其重要的角色。無論你住在哪里從事什么工作都會與溫度打交文檔來自于網(wǎng)絡(luò)搜索道。自18世紀(jì)工業(yè)時代以來工業(yè)革命對能否控制發(fā)送顯示溫度有著絕對的聯(lián)系。在冶金、鍛鋼、石化、水泥、醫(yī)學(xué)等產(chǎn)業(yè)中可以這樣說幾乎80%的工業(yè)部門不得不考慮溫度的因素。溫度對工業(yè)來說如此重要因此也推動了溫度傳感器的發(fā)展。1.2溫度傳感器的發(fā)展傳感器主要大體經(jīng)過了三個發(fā)展階段模擬集成溫度傳感器。該傳感器是采用硅半導(dǎo)體集成工藝制成因文檔來自于網(wǎng)絡(luò)搜索此亦稱硅傳感器或單片集成溫度傳感器。此種傳感器具有功能單一(僅測量溫度)、測溫誤差小、價格低、響應(yīng)速度快、傳輸距離遠(yuǎn)、體積小、功耗低適合遠(yuǎn)距離測溫、控溫不需要進(jìn)行非線性校準(zhǔn)外圍電路簡單。它是目前在國內(nèi)外應(yīng)用最為普遍的一種集成傳感器典型產(chǎn)品有AD590、AD592、TMP17、LM135等文檔來自于網(wǎng)絡(luò)搜索模擬集成溫度控制器。模擬集成溫度控制器主要包括溫度控制開關(guān)、可編程溫度控制器典型產(chǎn)品有LM56、AD22105和MAX6509。某些增強型集成溫度控制器(例如TC652/653)中還包含了A/D轉(zhuǎn)換器以及固化好文檔來自于網(wǎng)絡(luò)搜索的程序這些工藝與智能溫度傳感器有某些相似之處。但它自成系統(tǒng)工作時并不受微處理器的控制這是智能溫度傳感器和非智能之間的主要區(qū)別智能溫度傳感器(亦稱數(shù)字溫度傳感器)是20世紀(jì)90年代中期問世的。它是微電子技術(shù)、計算機技術(shù)和自動測試技術(shù)(ATE)的結(jié)晶。智能溫度傳感器內(nèi)部都包含溫度傳感器、A/D轉(zhuǎn)換器、信號處理器、存儲器(或寄存器)和接口電路。有的產(chǎn)品還帶多路選擇器、中央控制器(CPU)、文檔來自于網(wǎng)絡(luò)搜索隨機存取存儲器(RAM)和只讀存儲器(ROM)。智能溫度傳感器的特點是能輸出溫度數(shù)據(jù)及相關(guān)的溫度控制文檔來自于網(wǎng)絡(luò)搜索量適配各種微控制器(MCU)。1.3單點與多點溫度傳感器溫度傳感器的發(fā)展趨勢進(jìn)21世紀(jì)后溫度傳感器正朝著高精度、多功能、總線標(biāo)準(zhǔn)化、高可靠性及安文檔來自于網(wǎng)絡(luò)搜索全性、開發(fā)虛擬傳感器和網(wǎng)絡(luò)傳感器、研制單片測溫系統(tǒng)等高科技的方向迅速發(fā)展。傳感器在溫度測控系統(tǒng)中的應(yīng)用目前市場主要存在單點和多點兩種溫度測量儀表。對于單點溫測儀表主要采用傳統(tǒng)的模擬集成第10頁溫度傳感器其中又以熱電阻、熱電偶等傳感器的測量精度高測量范圍大而得到了普遍的應(yīng)用。此種文檔來自于網(wǎng)絡(luò)搜索產(chǎn)品測溫范圍大都在-200℃~800℃之間分辨率12位最小分辨溫度在0.001~0.01之間。自帶LED文檔來自于網(wǎng)絡(luò)搜索液晶顯示模塊顯示4位到16位不等。有的儀表還具有存儲功能可存儲幾百到幾千組數(shù)據(jù)。該類儀表可很好的滿足單個用戶單點測量的需要。多點溫度測量儀表相對與單點的測量精度有一定的差距雖然實現(xiàn)了多路溫度的測控但價格昂貴。針對目前市場的現(xiàn)狀本課題提出了一種可滿足要求、可擴展的并且性價比高的單片機多路測溫系統(tǒng)。通過溫度傳感器DS18B20采集然后通過C51單片機處理并在數(shù)碼管文檔來自于網(wǎng)絡(luò)搜索上顯示可以采集室內(nèi)或溫室中四處不同位置的溫度用四個數(shù)碼管來顯示。第一個數(shù)碼管顯示所采集的是哪一路哪個通道。后三個數(shù)碼管顯示所采集通道的溫度值精確到0.1度。2系統(tǒng)的實現(xiàn)及相關(guān)技術(shù)2.1系統(tǒng)的實現(xiàn)整個控制系統(tǒng)采用AT89C51芯片采用多線連接就是四個DS1820分別連接到單片機的四個IO口文檔來自于網(wǎng)絡(luò)搜索采集到的溫度結(jié)果通過串口通信然后芯片將采集到的數(shù)據(jù)處理在外部顯示器顯示出來并且能夠?qū)崿F(xiàn)外部鍵盤的控制。溫度在LED液晶顯示屏顯示出來后通過軟件編程確保系統(tǒng)有一定的抗干擾能力。這種方案雖然占用單片機的四個IO口但在單片機IO口不緊缺的情況下采用這種方案大大的簡化了編程難度縮短了設(shè)計周期同時也能保證系統(tǒng)的穩(wěn)定。多線連接方案的框圖如“圖1-1”所示圖1-1DS1820多線連接方案2.2.AT89C51單片機簡介AT89C51是一種帶4K字節(jié)FLASH存儲器FPEROM—FlashProgrammableandErasableReadOnly文檔來自于網(wǎng)絡(luò)搜索Memory的低電壓、高性能CMOS8位微處理器俗稱單片機。AT89C2051是一種帶2K字節(jié)閃存可編程文檔來自于網(wǎng)絡(luò)搜索可擦除只讀存儲器的單片機。單片機的可擦除只讀存儲器可以反復(fù)擦除1000次。該器件采用ATMEL高密度非易失存儲器制造技術(shù)制造與工業(yè)標(biāo)準(zhǔn)的MCS-51指令集和輸出管腳相兼容。由于將多功能8位CPU和閃存存儲器組合在單個芯片中ATMEL的AT89C51是一種高效微控制器AT89C2051是它的一種精簡版本。DS1820文檔來自于網(wǎng)絡(luò)搜索DS1820DS1820DS1820AT89C51單片機P1.0P1.1P1.2P1.3P3.4顯示單元按鍵控制單元第11頁AT89C51單片機為很多嵌入式控制系統(tǒng)提供了一種靈活性高且價廉的方案。外形及引腳排列如圖“圖1-2”文檔來自于網(wǎng)絡(luò)搜索所示圖1-2AT89C51引腳圖主要特性·與MCS-51兼容·4K字節(jié)可編程FLASH存儲器·壽命1000寫/擦循環(huán)·數(shù)據(jù)保留時間10年·全靜態(tài)工作0Hz-24MHz·三級程序存儲器鎖定·128×8位內(nèi)部RAM·32可編程I/O線·兩個16位定時器/計數(shù)器·5個中斷源·可編程串行通道·低功耗的閑置和掉電模式·片內(nèi)振蕩器和時鐘電路管腳說明VCC供電電壓。第12頁GND接地。P0口P0口為一個8位漏極開路雙向I/O口每腳可吸收8TTL門電流。當(dāng)P0口的管腳先要寫入高電平被定義為高阻輸入。P0能夠用于外部程序數(shù)據(jù)存儲器它可以被定義為低八位數(shù)據(jù)或地址總線。在FIASH文檔來自于網(wǎng)絡(luò)搜索編程時P0口作為原碼輸入口當(dāng)FIASH進(jìn)行校驗時P0輸出原碼此時P0外部必須被拉高。P1口P1口是一個內(nèi)部提供上拉電阻的8位雙向I/O口P1口緩沖器能接收輸出4TTL門電流。P1口管腳寫入高電平后被內(nèi)部上拉為高可用作輸入P1口被外部下拉為低電平時將輸出電流這是由于內(nèi)部上拉的緣故。在FLASH編程和校驗時P1口作為高八位地址接收。P2口P2口為一個內(nèi)部上拉電阻的8位雙向I/O口P2口緩沖器可接收輸出4個TTL門電流當(dāng)P2口被寫入高電平時其管腳被內(nèi)部上拉電阻拉高且作為輸入。并因此作為輸入時P2口的管腳被外部拉低將輸出電流。這是由于內(nèi)部上拉的緣故。P2口當(dāng)用于外部程序存儲器或16位地址外部數(shù)據(jù)存儲器進(jìn)行存取時P2口輸出地址的高八位。在給出地址“1”時它利用內(nèi)部上拉優(yōu)勢當(dāng)對外部八位地址數(shù)據(jù)存儲器進(jìn)行讀寫時P2口輸出其特殊功能寄存器的內(nèi)容。P2口在FLASH編程和校驗時接收高八位地址信號和控制信號。P3口P3口管腳是8個帶內(nèi)部上拉電阻的雙向I/O口可接收輸出4個TTL門電流。當(dāng)P3口寫入高電平后它們被內(nèi)部上拉為高電平并用作輸入。作為輸入由于外部下拉為低電平P3口將輸出電流ILL這是由于上拉的緣故。RST復(fù)位輸入。當(dāng)振蕩器復(fù)位器件時要保持RST腳兩個機器周期的高電平時間。ALE/PROG當(dāng)訪問外部存儲器時地址鎖存允許的輸出電平用于鎖存地址的地位字節(jié)。在FLASH編程期間此引腳用于輸入編程脈沖。在平時ALE端以不變的頻率周期輸出正脈沖信號此頻率為振蕩器頻率的1/6。因此它可用作對外部輸出的脈沖或用于定時目的。然而要注意的是每當(dāng)用作外部數(shù)據(jù)存儲器時將跳過一個ALE脈沖。如想禁止ALE的輸出可在SFR8EH地址上置0。此時ALE只有在執(zhí)行MOVXMOVC文檔來自于網(wǎng)絡(luò)搜索指令是ALE才起作用。另外該引腳被略微拉高。如果微處理器在外部執(zhí)行狀態(tài)ALE禁止置位無效。/PSEN外部程序存儲器的選通信號。在由外部程序存儲器取指期間每個機器周期兩次/PSEN有效。但在訪問外部數(shù)據(jù)存儲器時這兩次有效的/PSEN信號將不出現(xiàn)。/EA/VPP當(dāng)/EA保持低電平時則在此期間外部程序存儲器0000H-FFFFH不管是否有內(nèi)部程序存文檔來自于網(wǎng)絡(luò)搜索儲器。注意加密方式1時/EA將內(nèi)部鎖定為RESET當(dāng)/EA端保持
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 農(nóng)村買地合同合同模板
- 會議租用合同模板
- 北京市水泥合同范例
- 2024年國際快遞業(yè)務(wù)分包與合作合同
- 入股私人股合同范例
- 2024商業(yè)綜合體物業(yè)管理綠化維護(hù)合同
- 農(nóng)業(yè)種植合伙合同范例
- 公司和物流合同范例
- 鄉(xiāng)鎮(zhèn)醫(yī)院用人合同范例
- 買房子定金合同模板
- 基于PLC的熱水箱恒溫控制系統(tǒng)
- 醫(yī)療機構(gòu)校驗管理課件
- 藥物臨床試驗突發(fā)事件應(yīng)急預(yù)案
- 《繼電保護(hù)培訓(xùn)》課件
- 醫(yī)院裝飾工程服務(wù)方案
- 麻醉及應(yīng)激反應(yīng)調(diào)控
- 《數(shù)字經(jīng)濟學(xué)》 課件 專題4:數(shù)字貨幣與數(shù)字金融研究
- 以瞄準(zhǔn)我的妹妹沒剪板
- 0-36個月兒童中醫(yī)藥健康管理服務(wù)規(guī)范
- 《學(xué)習(xí)的本質(zhì)》讀書會活動
- 國培教師個人成長案例3000字
評論
0/150
提交評論