单片机温度控制系统外文翻译外文文献英文文献中英翻译讲课讲稿.docx
《单片机温度控制系统外文翻译外文文献英文文献中英翻译讲课讲稿.docx》由会员分享,可在线阅读,更多相关《单片机温度控制系统外文翻译外文文献英文文献中英翻译讲课讲稿.docx(15页珍藏版)》请在冰豆网上搜索。
单片机温度控制系统外文翻译外文文献英文文献中英翻译讲课讲稿
DesignoftheTemperatureControlSystemBasedonAT89C51
ABSTRACT
TheprincipleandfunctionsofthetemperaturecontrolsystembasedonmicrocontrollerAT89C51arestudied,andthetemperaturemeasurementunitconsistsofthe1-WirebusdigitaltemperaturesensorDS18B20.Thesystemcanbeexpectedtodetectthepresettemperature,displaytimeandsavemonitoringdata.Analarmwillbegivenbysystemifthetemperatureexceedstheupperandlowerlimitvalueofthetemperaturewhichcanbesetdiscretionarilyandthenautomaticcontrolisachieved,thusthetemperatureisachievedmonitoringintelligentlywithinacertainrange.Basingonprincipleofthesystem,itiseasytomakeavarietyofothernon-linearcontrolsystemssolongasthesoftwaredesignisreasonablychanged.Thesystemhasbeenprovedtobeaccurate,reliableandsatisfiedthroughfieldpractice.
KEYWORDS:
AT89C51;microcontroller;DS18B20;temperature
1INTRODUCTION
Temperatureisaveryimportantparameterinhumanlife.Inthemodernsociety,temperaturecontrol(TC)isnotonlyusedinindustrialproduction,butalsowidelyusedinotherfields.Withtheimprovementofthelifequality,wecanfindtheTCapplianceinhotels,factoriesandhomeaswell.AndthetrendthatTCwillbetterservethewholesociety,soitisofgreatsignificancetomeasureandcontrolthetemperature.BasedontheAT89C51andtemperaturesensorDS18B20,thissystemcontrolstheconditiontemperatureintelligently.Thetemperaturecanbesetdiscretionarilywithinacertainrange.ThesystemcanshowthetimeonLCD,andsavemonitoringdata;andautomaticallycontrolthetemperaturewhentheconditiontemperatureexceedstheupperandlowerlimitvalue.Bydoingsoitistokeepthetemperatureunchanged.Thesystemisofhighanti-jamming,highcontrolprecisionandflexibledesign;italsofitstheruggedenvironment.Itismainlyusedinpeople'slifetoimprovethequalityoftheworkandlife.Itisalsoversatile,sothatitcanbeconvenienttoextendtheuseofthesystem.Sothedesignisofprofoundimportance.Thegeneraldesign,hardwaredesignandsoftwaredesignofthesystemarecovered.
1.1Introduction
The8-bitAT89C51CHMOSmicrocontrollersaredesignedtohandlehigh-speedcalculationsandfastinput/outputoperations.MCS51microcontrollersaretypicallyusedforhigh-speedeventcontrolsystems.Commercialapplicationsincludemodems,motor-controlsystems,printers,photocopiers,airconditionercontrolsystems,diskdrives,andmedicalinstruments.TheautomotiveindustryuseMCS51microcontrollersinengine-controlsystems,airbags,suspensionsystems,andantilockbrakingsystems(ABS).TheAT89C51isespeciallywellsuitedtoapplicationsthatbenefitfromitsprocessingspeedandenhancedon-chipperipheralfunctionsset,suchasautomotivepower-traincontrol,vehicledynamicsuspension,antilockbraking,andstabilitycontrolapplications.Becauseofthesecriticalapplications,themarketrequiresareliablecost-effectivecontrollerwithalowinterruptlatencyresponse,abilitytoservicethehighnumberoftimeandeventdrivenintegratedperipheralsneededinrealtimeapplications,andaCPUwithaboveaverageprocessingpowerinasinglepackage.Thefinancialandlegalriskofhavingdevicesthatoperateunpredictablyisveryhigh.Onceinthemarket,particularlyinmissioncriticalapplicationssuchasanautopilotoranti-lockbrakingsystem,mistakesarefinanciallyprohibitive.Redesigncostscanrunashighasa$500K,muchmoreifthefixmeans2backannotatingitacrossaproductfamilythatsharethesamecoreand/orperipheraldesignflaw.Inaddition,fieldreplacementsofcomponentsisextremelyexpensive,asthedevicesaretypicallysealedinmoduleswithatotalvalueseveraltimesthatofthecomponent.Tomitigatetheseproblems,itisessentialthatcomprehensivetestingofthecontrollersbecarriedoutatboththecomponentlevelandsystemlevelunderworstcaseenvironmentalandvoltageconditions.Thiscompleteandthoroughvalidationnecessitatesnotonlyawell-definedprocessbutalsoaproperenvironmentandtoolstofacilitateandexecutethemissionsuccessfully.IntelChandlerPlatformEngineeringgroupprovidespostsiliconsystemvalidation(SV)ofvariousmicro-controllersandprocessors.Thesystemvalidationprocesscanbebrokenintothreemajorparts.Thetypeofthedeviceanditsapplicationrequirementsdeterminewhichtypesoftestingareperformedonthedevice.
1.2TheAT89C51providesthefollowingstandardfeatures
4KbytesofFlash,128bytesofRAM,32I/Olines,two16-bittimer/counters,afivevectortwo-levelinterruptarchitecture,afulldupleser-ialport,on-chiposcillatorandclockcircuitry.Inaddition,theAT89C51isdesignedwithstaticlogicforoperationdowntozerofrequencyandsupportstwosoftwar