单片机外文文献.docx

上传人:b****5 文档编号:5782372 上传时间:2023-01-01 格式:DOCX 页数:9 大小:42.22KB
下载 相关 举报
单片机外文文献.docx_第1页
第1页 / 共9页
单片机外文文献.docx_第2页
第2页 / 共9页
单片机外文文献.docx_第3页
第3页 / 共9页
单片机外文文献.docx_第4页
第4页 / 共9页
单片机外文文献.docx_第5页
第5页 / 共9页
点击查看更多>>
下载资源
资源描述

单片机外文文献.docx

《单片机外文文献.docx》由会员分享,可在线阅读,更多相关《单片机外文文献.docx(9页珍藏版)》请在冰豆网上搜索。

单片机外文文献.docx

单片机外文文献

单片机外文文献

MicrocomputerSystems

Electronicsystemsareusedforhandinginformationinthemostgeneralsense;thisinformationmaybetelephoneconversation,instrumentreadoracompany?

saccounts,but

ineachcasethesamemaintypeofoperationareinvolved:

theprocessing,storageandtransmissionofinformation.inconventionalelectronicdesigntheseoperationsarecombinedatthefunctionlevel;forexampleacounter,whetherelectronicormechanical,storesthecurrentandincrementsitbyoneasrequired.Asystemsuchasanelectronicclockwhichemployscountershasitsstorageandprocessingcapabilitiesspreadthroughoutthesystembecauseeachcounterisabletostoreandprocessnumbers.

Presentdaymicroprocessorbasedsystemsdepartfromthisconventionalapproachbyseparatingthethreefunctionsofprocessing,storage,andtransmissionintodifferentsectionofthesystem.ThispartitioningintothreemainfunctionswasdevisedbyVonNeumannduringthe1940s,andwasnotconceivedespeciallyformicrocomputers.Almosteverycomputerevermadehasbeendesignedwiththisstructure,anddespitetheenormousrangeintheirphysicalforms,theyhaveallbeenofessentiallythesamebasicdesign.

Inamicroprocessorbasedsystemtheprocessingwillbeperformedinthemicroprocessoritself.Thestoragewillbebymeansofmemorycircuitsandthecommunicationofinformationintoandoutofthesystemwillbebymeansofspecialinput/output(I/O)circuits.Itwouldbeimpossibletoidentifyaparticularpieceofhardwarewhichperformedthecountinginamicroprocessorbasedclockbecausethetimewouldbestoredinthememoryandincrementedatregularintervalsbutthemicroprocessor.However,thesoftwarewhichdefinedthesystem?

sbehaviorwouldcontainsectionsthat

performedascounters.Theapparentlyratherabstractapproachtothearchitectureofthemicroprocessoranditsassociatedcircuitsallowsittobeveryflexibleinuse,sincethesystemisdefinedalmostentirelysoftware.Thedesignprocessislargelyoneofsoftwareengineering,andthesimilarproblemsofconstructionandmaintenancewhichoccurinconventionalengineeringareencounteredwhenproducingsoftware.

Thefigure1.1illustrateshowthesethreesectionswithinamicrocomputerareconnectedintermsofthecommunicationofinformationwithinthemachine.Thesystemiscontrolledbythemicroprocessorwhichsupervisesthetransferofinformationbetween

1

itselfandthememoryandinput/outputsections.Theexternalconnectionsrelatetotherest(thatis,thenon-computerpart)oftheengineeringsystem.

Fig.1.1ThreeSectionsofaTypicalMicrocomputer

Althoughonlyonestoragesectionhasbeenshowninthediagram,inpracticetwodistincttypesofmemoryRAMandROMareused.Ineachcase,theword„memory?

is

ratherinappropriatesinceacomputersmemoryismorelikeafilingcabinetinconcept;informationisstoredinasetofnumbered„boxes?

anditisreferencedbytheserialnumberofthe„box?

inquestion.

MicrocomputersuseRAM(RandomAccessMemory)intowhichdatacanbewrittenandfromwhichdatacanbereadagainwhenneeded.Thisdatacanbereadbackfromthememoryinanysequencedesired,andnotnecessarilythesameorderinwhichitwaswritten,hencetheexpression„random?

accessmemory.AnothertypeofROM(ReadOnly

Memory)isusedtoholdfixedpatternsofinformationwhichcannotbeaffectedbythemicroprocessor;thesepatternsarenotlostwhenpowerisremovedandarenormallyusedtoholdtheprogramwhichdefinesthebehaviorofamicroprocessorbasedsystem.ROMscanbereadlikeRAMs,butunlikeRAMstheycannotbeusedtostorevariableinformation.SomeROMshavetheirdatapatternsputinduringmanufacture,whileothersareprogrammablebytheuserbymeansofspecialequipmentandarecalledprogrammableROMs.ThewidelyusedprogrammableROMsareerasablebymeansofspecialultravioletlampsandarereferredtoasEPROMs,shortforErasableProgrammableReadOnlyMemories.Othernewtypesofdevicecanbeerasedelectricallywithouttheneedforultravioletlight,whicharecalledElectricallyErasableProgrammableReadOnlyMemories,EEPROMs.

Themicroprocessorprocessesdataunderthecontroloftheprogram,controllingtheflowofinformationtoandfrommemoryandinput/outputdevices.Someinput/outputdevicesaregeneral-purposetypeswhileothersaredesignedforcontrollingspecial

2

hardwaresuchasdiscdrivesorcontrollinginformationtransmissiontoothercomputers.MosttypesofI/Odevicesareprogrammabletosomeextent,allowingdifferentmodesofoperation,whilesomeactuallycontainspecial-purposemicroprocessorstopermitquitecomplexoperationstobecarriedoutwithoutdirectlyinvolvingthemainmicroprocessor.

Themicroprocessorprocessesdataunderthecontroloftheprogram,controllingtheflowofinformationtoandfrommemoryandinput/outputdevices.Someinput/outputdevicesaregeneral-purposetypeswhileothersaredesignedforcontrollingspecialhardwaresuchasdiscdrivesorcontrollinginformationtransmissiontoothercomputers.MosttypesofI/Odevicesareprogrammabletosomeextent,allowingdifferentmodesofoperation,whilesomeactuallycontainspecial-purposemicroprocessorstopermitquitecomplexoperationstobecarriedoutwithoutdirectlyinvolvingthemainmicroprocessor.

Themicroprocessor,memoryandinput/outputcircuitmayallbecontainedonthe

sameintegratedcircuitprovidedthattheapplicationdoesnotrequiretoomuchprogramordatastorage.Thisisusuallythecaseinlow-costapplicationsuchasthecontrollersusedinmicrowaveovensandautomaticwashingmachines.Theuseofsinglepackageallowsconsiderablecostsavingstoemadewhenarticlesaremanufacturedinlargequantities.Astechnologydevelops,moreandmorepowerfulprocessorsandlargerandlargeramountsofmemoryarebeingincorporatedintosinglechipmicrocomputerswithresultingsavinginassemblycostsinthefinalproducts.Fortheforeseeablefuture,however,itwillcontinuetobenecessarytointerconnectanumberofintegratedcircuitstomakeamicrocomputerwheneverlargeramountsofstorageorinput/outputarerequired.

Anothermajorengineeringapplicationofmicrocomputersisinprocesscontrol.Herethepresenceofthemicrocomputerisusuallymoreapparenttotheuserbecauseprovisionisnormallymadeforprogrammingthemicrocomputerfortheparticularapplication.Inprocesscontrolapplicationsthebenefitslffittingtheentiresystemontosinglechipareusuallyoutweighedbythehighdesigncostinvolved,becausethissortlfequipmentisproducedinsmallerquantities.Moreover,processcontrollersareusuallymorecomplicatedsothatitismoredifficulttomakethemassingleintegratedcircuits.Twoapproachesarepossible;thecontrollercanbeimplementedasageneral-purposemicrocomputerratherlikeamorerobustversionlfahobbycomputer,orasa„packaged?

system,signedfor

replacingcontrollersbasedonoldertechnologiessuchaselectromagneticrelays.Inthe

3

formercasethesystemwouldprobablybeprogrammedinconventionalprogramminglanguagessuchastheonesto9beintroducedlater,whileintheothercaseaspecial-purposelanguagemightbeused,forexampleonewhichallowedthefunctionofthecontrollertobedescribedintermsofrelayinterconnections,IneithercaseprogramscanbestoredinRAM,whichallowsthemtobealteredtosuitchangesinapplication,butthismakestheoverallsystemvulnerabletolosslfpowerunlessbatteriesareusedtoensurecontinuityofsupply.AlternativelyprogramscanbestoredinROM,inwhichcasetheyvirtuallybecomepartoftheelectronic„hardware?

andareoftenreferredtoasfirmware.Moresophisticatedprocesscontrollersrequireminicomputersfortheirimplementation,althoughtheuselflargescaleintegratedcircuits„thedistinctionbetweenminiandmicrocomputers,Productsandprocesscontrollersofvariouskindsrepresentthemajorityofpresent-daymicrocomputerapplications,theexactfiguresdependingonone?

s

interpretationoftheword„product?

.Virtuallyallengineeringandscientificusesofmicrocomputerscanbeassignedtooneorotherofthesecategories.ButinthesystemwemoststudyPressureandPressureTransmitters.Pressureariseswhenaforceisappliedoveranarea.ProvidedtheforceisoneNewtonanduniformlyovertheareaofonesquaremeters,thepressurehasbeendesignatedonePascal.Pressureisauniversalprocessingcondition.Itisalsoaconditionoflifeontheplanet:

weliveatthebottomofanatmosphericoceanthatextendsupwardformanymiles.Thismassofairhasweight,andthisweightpressingdownwardcausesatmosphericpressure.Water,afundamentalnecessityoflife,issuppliedtomostofusunderpressure.Inthetypicalprocessplant,pressureinfluencesboilingpointtemperatures,condensingpointtemperatures,processefficiency,costs,andotherimportantfactors.Themeasurementandcontrolofpressureorlackofit-vacuum-inthetypicalprocessplantiscritical.

Theworkinginstrumentsintheplantusuallyincludesimplepressuregauges,precisionrecordersandindicators,andpneumaticandelectronicpressuretransmitters.Apressuretransmittermakesapressuremeasurementandgenerateseitherapneumaticorelectricalsignaloutputthatisproportionaltothepressurebeingsensed.

Intheprocessplant,itisimpracticaltolocatethecontrolinstrumentsoutintheplaceneartheprocess.Itisalsotruethatmostmeasurementsarenoteasilytransmittedfromsomeremotelocation.Pressuremeasurementisanexception,butifahighpressureof

4

somedangerouschemicalistobeindicatedorrecordedsevera

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > PPT模板 > 节日庆典

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

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