单片机控制系统外文翻译.docx

上传人:b****5 文档编号:8269761 上传时间:2023-01-30 格式:DOCX 页数:5 大小:29.46KB
下载 相关 举报
单片机控制系统外文翻译.docx_第1页
第1页 / 共5页
单片机控制系统外文翻译.docx_第2页
第2页 / 共5页
单片机控制系统外文翻译.docx_第3页
第3页 / 共5页
单片机控制系统外文翻译.docx_第4页
第4页 / 共5页
单片机控制系统外文翻译.docx_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

单片机控制系统外文翻译.docx

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

单片机控制系统外文翻译.docx

单片机控制系统外文翻译

MicrocomputerSystems

Electronicsystemsareusedforhandinginformationinthemostgeneralsense;thisinformationmaybetelephoneconversation,instrumentreadoracompany’saccounts,butineachcasethesamemaintypeofoperationareinvolved:

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

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

Inamicroprocessorbasedsystemtheprocessingwillbeperformedinthemicroprocessoritself.Thestoragewillbebymeansofmemorycircuitsandthecommunicationofinformationintoandoutofthesystemwillbebymeansofspecialinput/output(I/O)circuits.Itwouldbeimpossibletoidentifyaparticularpieceofhardwarewhichperformedthecountinginamicroprocessorbasedclockbecausethetimewouldbestoredinthememoryandincrementedatregularintervalsbutthemicroprocessor.However,thesoftwarewhichdefinedthesystem’sbehaviorwouldcontainsectionsthatperformedascounters.Theapparentlyratherabstractapproachtothearchitectureofthemicroprocessoranditsassociatedcircuitsallowsittobeveryflexibleinuse,sincethesystemisdefinedalmostentirelysoftware.Thedesignprocessislargelyoneofsoftwareengineering,andthesimilarproblemsofconstructionandmaintenancewhichoccurinconventionalengineeringareencounteredwhenproducingsoftware.

Thefigure1.1illustrateshowthesethreesectionswithinamicrocomputerareconnectedintermsofthecommunicationofinformationwithinthemachine.Thesystemiscontrolledbythemicroprocessorwhichsupervisesthetransferofinformationbetweenitselfandthememoryandinput/outputsections.Theexternalconnectionsrelatetotherest(thatis,thenon-computerpart)oftheengineeringsystem.

 

Fig.1.1ThreeSectionsofaTypicalMicrocomputer

Althoughonlyonestoragesectionhasbeenshowninthediagram,inpracticetwodistincttypesofmemoryRAMandROMareused.Ineachcase,theword‘memory’isratherinappropriatesinceacomputersmemoryismorelikeafilingcabinetinconcept;informationisstoredinasetofnumbered‘boxes’anditisreferencedbytheserialnumberofthe‘box’inquestion.

MicrocomputersuseRAM(RandomAccessMemory)intowhichdatacanbewrittenandfromwhichdatacanbereadagainwhenneeded.Thisdatacanbereadbackfromthememoryinanysequencedesired,andnotnecessarilythesameorderinwhichitwaswritten,hencetheexpression‘random’accessmemory.AnothertypeofROM(ReadOnlyMemory)isusedtoholdfixedpatternsofinformationwhichcannotbeaffectedbythemicroprocessor;thesepatternsarenotlostwhenpowerisremovedandarenormallyusedtoholdtheprogramwhichdefinesthebehaviorofamicroprocessorbasedsystem.ROMscanbereadlikeRAMs,butunlikeRAMstheycannotbeusedtostorevariableinformation.SomeROMshavetheirdatapatternsputinduringmanufacture,whileothersareprogrammablebytheuserbymeansofspecialequipmentandarecalledprogrammableROMs.ThewidelyusedprogrammableROMsareerasablebymeansofspecialultravioletlampsandarereferredtoasEPROMs,shortforErasableProgrammableReadOnlyMemories.Othernewtypesofdevicecanbeerasedelectricallywithouttheneedforultravioletlight,whicharecalledElectricallyErasableProgrammableReadOnlyMemories,EEPROMs.

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

Themicroprocessor,memoryandinput/outputcircuitmayallbecontainedonthesameintegratedcircuitprovidedthattheapplicationdoesnotrequiretoomuchprogramordatastorage.Thisisusuallythecaseinlow-costapplicationsuchasthecontrollersusedinmicrowaveovensandautomaticwashingmachines.Theuseofsinglepackageallowsconsiderablecostsavingstoemadewhenarticlesaremanufacturedinlargequantities.Astechnologydevelops,moreandmorepowerfulprocessorsandlargerandlargeramountsofmemoryarebeingincorporatedintosinglechipmicrocomputerswithresultingsavinginassemblycostsinthefinalproducts.Fortheforeseeablefuture,however,itwillcontinuetobenecessarytointerconnectanumberofintegratedcircuitstomakeamicrocomputerwheneverlargeramountsofstorageorinput/outputarerequired.

Anothermajorengineeringapplicationofmicrocomputersisinprocesscontrol.Herethepresenceofthemicrocomputerisusuallymoreapparenttotheuserbecauseprovisionisnormallymadeforprogrammingthemicrocomputerfortheparticularapplication.Inprocesscontrolapplicationsthebenefitslffittingtheentiresystemontosinglechipareusuallyoutweighedbythehighdesigncostinvolved,becausethissortlfequipmentisproducedinsmallerquantities.Moreover,processcontrollersareusuallymorecomplicatedsothatitismoredifficulttomakethemassingleintegratedcircuits.Twoapproachesarepossible;thecontrollercanbeimplementedasageneral-purposemicrocomputerratherlikeamorerobustversionlfahobbycomputer,orasa‘packaged’system,signedforreplacingcontrollersbasedonoldertechnologiessuchaselectromagneticrelays.Intheformercasethesystemwouldprobablybeprogrammedinconventionalprogramminglanguagessuchastheonesto9beintroducedlater,whileintheothercaseaspecial-purposelanguagemightbeused,forexampleonewhichallowedthefunctionofthecontrollertobedescribedintermsofrelayinterconnections,IneithercaseprogramscanbestoredinRAM,whichallowsthemtobealteredtosuitchangesinapplication,butthismakestheoverallsystemvulnerabletolosslfpowerunlessbatteriesareusedtoensurecontinuityofsupply.AlternativelyprogramscanbestoredinROM,inwhichcasetheyvirtuallybecomepartoftheelectronic‘hardware’andareoftenreferredtoasfirmware.

Moresophisticatedprocesscontrollersrequireminicomputersfortheirimplementation,althoughtheuseoflargescaleintegratedcircuits‘thedistinctionbetweenminiandmicrocomputers,Productsandprocesscontrollersofvariouskindsrepresentthemajorityofpresent-daymicrocomputerapplications,theexactfiguresdependingonone’sinterpretationoftheword‘product’.Virtuallyallengineeringandscientificusesofmicrocomputerscanbeassignedtooneorotherofthesecategories.Butinthe

systemwemoststudyPressureandPressureTransmitters.Pressureariseswhenaforceisappliedoveranarea.ProvidedtheforceisoneNewtonanduniformlyovertheareaofonesquaremeters,thepressurehasbeendesignatedonePascal.Pressureisauniversalprocessingcondition.Itisalsoaconditionoflifeontheplanet:

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

 

单片机控制系统

广义地说,微型计算机控制系统(单片机控制系统)是用于处理信息的,这种被用于处理的信息可以是电话交谈,也可以是仪器的读数或者是一个企业的帐户,但是各种情况下都涉及到相同的主要操作:

信息的处理、信息的存储和信息的传递。

在常规的电子设计中,这些操作都是以功能平台方式组合起来的,例如计数器,无论是电子计数器还是机械计数器,都要存储当前的数值,并且按要求将该数值增加1。

一个系统例如采用计数器的电子钟之类的任一系统要使其存储和处理能力遍布整个系统,因为每个计数器都能存储和处理一些数字。

现如今,以微处理器为基础的系统从常规的处理方法中分离了出来,它将信息的处理,信息的存储和信息的传输三个功能分离形成不同的系统单元。

这种主要将系统分成三个主要单元的分离方法是冯-诺依曼在20世纪40年代所设想出来的,并且是针对微计算机的设想。

从此以后基本上所有制成的计算机都是用这种结构设计的,尽管他们包含着宽广的物理形式与物理结构,但从根本上来说他们均是具有相同基本设计的计算机。

在以微处理器为基础的系统中,处理是由以微处理器为基础的系统自身完成的。

存储是利用存储器电路,而从系统中输入和输出的信息传输则是利用特定的输入/输出(I/O)电路。

要在一个以微处理器为基础的时钟中找出执行具有计数功能的一个特殊的硬件组成部分是不可能的,因为时间存储在存储器中,而在固定的时间间隔下由微处理器控制增值。

但是,规定系统运转过程的软件却规定了包含实现计数器计数功能的单元部分。

由于系统几乎完全由软件所定义,所以对微处理器结构和其辅助电路这种看起来非常抽象的处理方法使其在应用时非常灵活。

这种设计过程主要是软件工程,而且在生产软件时,就会遇到产生于常规工程中相似的构造和维护问题。

图1.1微型计算机的三个组成部分

图1.1显示出了微型计算机中这三个单元在一个微处理器控制系统中是如何按照机器中的信息通信方式而联接起来的。

该系统由微处理器控制,微处理器能够对其自身的存储器和输入/输出单元的信息传输进行管理。

外部的连接部分与工程系统中的其余部分(即非计算机部分)有关。

尽管图中显示的只有一个存储单元,但是在实际中却有RAM和ROM两种不同的存储器被使用。

在每一种情况下,由于概念上的计算机存储器更像一个公文柜,上述的“存储器”一词是非常不恰当的;信息被存放在一系列已数字标记过的的“箱子”中,而且可以按照问题由“箱子”的序列号进行相关信息的参考定位。

微计算机控制系统经常使用RAM(随机存取存储器),在RAM中,数据可以

被写入,并且在需要的时候,可以被再次读出。

这种数据能以任意一种所希望的次序从存储器中读出,而不必按照写入时的相同次序读出,所以有“随机”存取存储器。

另一类型ROM(只读存储器)是用来保持信息的,它们是不受微处理器影响的固定的信息标本;这些信息在电源切断后不会丢失,并通常用来保存规定微处理器化系统运转过程的程序。

ROM可像RAM一样被读取,但与RAM不一样的是不能用来存储可变的信息。

有些ROM在制造时将其数据标本放入,而另外的则可通过特殊的设备由用户编程,所

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

当前位置:首页 > 农林牧渔 > 林学

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

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