




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、外文原文(复印件)A:FundamentalsofSingle-chipMicrocomputerThesingle-chipmicrocomputeristhecuIminationofboththedevelopmentofthedigitalcomputerandtheintegratedcircuitarguablythetowmostsignificantinventionsofthe20thcentury[1].Thesetowtypesofarchitecturearefoundinsingle-chipmicrocomputer.Someemploythesplitprogram/datamemoryoftheHarvardarchitecture,shownin-5A,othersfollowthephilosophy,widelyadaptedforgeneral-purposecomputersandmicroprocessors,ofmakingnologicaldistinctionbetweenprogramanddatamemoryasinthePrincetonarchitecture,shownin-5A.Ingeneraltermsasingle-chipmicrocomputerischaracterizedbytheincorporationofalltheunitsofacomputerintoasingledevice,asshowninFig3-5A-3.-5A-1AHarvardtype-5A.AconventionalPrincetoncomputerFig3-5A-3.PrincipalfeaturesofamicrocomputerReadonlymemory(ROM).roMisusuallyforthepermanent,non-volatilestorageofanapplicationsprogram.Manymicrocomputersandmicrocontrollersareintendedforhigh-volumeapplicationsandhencetheeconomicalmanufactureofthedevicesrequiresthatthecontentsoftheprogrammemorybecommittedpermanentlyduringthemanufactureofchips.Clearly,thisimpliesarigorousapproachtoROMcodedevelopmentsincechangescannotbemadeaftermanufacture.Thisdevelopmentprocessmayinvolveemulationusingasophisticateddevelopmentsystemwithahardwareemulationcapabilityaswellastheuseofpowerfulsoftwaretools.SomemanufacturersprovideadditionalROMoptionsbyincludingintheirrangedeviceswith(orintendedforusewith)userprogrammablememory.Thesimplestoftheseisusuallydevicewhichcanoperateinamicroprocessormodebyusingsomeoftheinput/outputlinesasanaddressanddatabusforaccessingexternalmemory.ThistypeofdevicecanbehavefunctionallyasthesinglechipmicrocomputerfromwhichitisderivedalbeitwithrestrictedI/Oandamodifiedexternalcircuit.TheuseoftheseROMlessdevicesiscommoneveninproductioncircuitswherethevolumedoesnotjustifythedevelopmentcostsofcustomon-chipROM[2];therecanstillbeasignificantsavinginI/Oandotherchipscomparedtoa
conventionalmicroprocessorbasedcircuit.MoreexactreplacementforROMdevicescanbeobtainedintheformofvariantswith'piggy-back'EPROM(ErasableprogrammableROM)socketsordeviceswithEPROMinsteadofROM。ThesedevicesarenaturallymoreexpensivethanequivalentROMdevice,butdoprovidecompletecircuitequivalents.EPROMbaseddevicesarealsoextremelyattractiveforlow-volumeapplicationswheretheyprovidetheadvantagesofasingle-chipdevice,intermsofon-chipI/O,etc.,withtheconvenienceofflexibleuserprogrammability.Randomaccessmemory(RAM).ramisforthestorageofworkingvariablesanddatausedduringprogramexecution.Thesizeofthismemoryvarieswithdevicetypebutithasthesamecharacteristicwidth(4,8,16bitsetc.)astheprocessor,Specialfunctionregisters,suchasstackpointerortimerregisterareoftenlogicallyincorporatedintotheRAMarea.ItisalsocommoninHarardtypemicrocomputerstotreattheRAMareaasacollectionofregister;itisunnecessarytomakedistinctionbetweenRAMandprocessorregisterasisdoneinthecaseofamicroprocessorsystemsinceRAMandregistersarenotusuallyphysicallyseparatedinamicrocomputer.Centralprocessingunit(CPU)gecpuismuchlikethatofanymicroprocessor.Manyapplicationsofmicrocomputersandmicrocontrollersinvolvethehandlingofbinary-codeddecimal(BCD)data(fornumericaldisplays,forexample),henceitiscommontofindthattheCPUiswe11adaptedtohandlingthistypeofdata.Itisalsocommontofindgoodfacilitiesfortesting,settingandresettingindividualbitsofmemoryorI/Osincemanycontrollerapplicationsinvolvetheturningonandoffofsingleoutputlinesorthereadingthesingleline.Theselinesarereadilyinterfacedtotwo-statedevicessuchasswitches,thermostats,solid-staterelays,valves,motor,etc.varyParallelinput/output.parallelinputandoutputschemessomewhatindifferentmicrocomputer;inmostamechanismisprovidedtoatleastallowsomeflexibilityofchoosingwhichpinsareoutputsandwhichareinputs.Thismayapplytoallorsomeoftheports.SomeI/Olinesaresuitablefordirectinterfacingto,forexample,fluorescentdisplays,orcanvaryprovidesufficientcurrenttomakeinterfacingothercomponentsstraightforward.SomedevicesallowanI/Oporttobeconfiguredasasystembustoallowoff-chipmemoryandI/Oexpansion.Thisfacilityispotentiallyusefulasaproductrangedevelops,sincesuccessiveenhancementsmaybecometoobigforon-chipmemoryanditisundesirablenottobuildontheexistingsoftwarebase.Serialinput/outputSerialcommunicationwithterminaldevicesis
Serialinput/outputSerialcommunicationwithterminaldevicesiscommonmeansofprovidingalinkusingasmallnumberoflines.Thissortofcommunicationcanalsobeexploitedforinterfacingspecialfunctionchipsorlinkingseveralmicrocomputerstogether.Boththecommonasynchronoussynchronouscommunicationschemesrequireprotocolsthatprovideframing(startandstop)information.ThiscanbeimplementedasahardwarefacilityorU(S)ART(Universal(synchronous)asynchronousreceiver/1ransmitter)relievingtheprocessor(andtheapplicationsprogrammer)ofthislow-level,time-consuming,detail.tismerelynecessarytoselectedabaud-rateandpossiblyotheroptions(numberofstopbits,parity,etc.)andload(orreadfrom)theserialtransmitter(orreceiver)buffer.Serializationofthedataintheappropriateformatisthenhandledbythehardwarecircuit.Timing/cOUnterfacilities.Manyapplicationofsingle-chipmicrocomputersrequireaccurateevaluationofelapsedrealtime.Thiscanbedeterminedbycarefulassessmentoftheexecutiontimeofeachbranchinaprogrambutthisrapidlybecomesinefficientforallbutsimplestprograms.Thepreferredapproachistousetimercircuitthatcanindependentlycountprecisetimeincrementsandgenerateaninterruptafterapresettimehaselapsed.Thistypeoftimerisusuallyarrangedtobereloadablewiththerequiredcount.Thetimerthendecrementsthisvalueproducinganinterruptorsettingaflagwhenthecounterreacheszero.Bettertimersthenhavetheabilitytoautomaticallyreloadtheinitialcountvalue.Thisrelievestheprogrammeroftheresponsibilityofreloadingthecounterandassessingelapsedtimebeforethetimerrestarted,whichotherwisewoundbe necessary ifcontinuouspreciselytimedinte rru ptswererequired(asin aclock,fo rexample).Sometimesassociated wit h timerisaneventcounter. WiththisfacilitythereisusuallyaspecialinputTimingcomponents.ThTimingcomponents.Theclockcircuitryofmostmicrocomputersrequiresonlysimpletimingcomponents.Ifmaximumperformanceisrequired,acrystalmustbeusedtoensurethemaximumclockfrequencyisapproachedbutnotexceeded.Manyclockcircuitsalsoworkwitharesistorandcapacitoraslow-costtimingcomponentsorcanbedrivenfromanexternalsource.Thislatterarrangementisusefulisexternalsynchronizationofthemicrocomputerisrequired.WORDSANDTERMSculmination门.顶点spiltadj.分离的volatilen.易变的commitv保证albeitconj.虽然customadj.定制的variantadj.不同的piggy-backadj.背负式的socketn.插座B:PLC[1]PLCs(programmablelogicalcontroller)faceevermorecomplexchallengesthesedays.Whereoncetheyquietlyreplacedrelaysandgaveanoccasionalreporttoacorporatemainframe,theyarenowgroupedintocells,givennewjobandnewlanguages,andareforcedtocompeteagainstagrowingarrayofcontrolproducts.Forthisyear'sannualPLCtechnologyupdate,wequeriedPLCmakersonthesetopicsandmore.ProgramminglanguagesHigherlevelPLCprogramminglanguageshavebeenaroundforsometime,butlatelytheirpopularityhasmushrooming."AsRaymondLeveille,vicepresident&generalmanager,SiemensEnergy&Automation.inc;Programmablecontrolsarebeingusedformoreandmoresophisticatedoperations,languagesotherthanladderlogicbecomemorepractical,efficient,andpowerful.Forexample,it'sverydifficulttowriteatrigonometricfunctionusingladderlogic."LanguagesgainingacceptanceincludeBoolean,controlsystemflowcharting,andsuchfunctionchartlanguagesasGraphcetanditsvariation.Andthere'sincreasinginterestinlanguageslikeCandBASIC.PLCsinprocesscontrolThusfar,PLCshavenotbeenusedextensivelyforcontinuousprocesscontrol.Willthiscontinue"ThefeelingthatI'vegotten,"saysKenJannotta,manger,productplanning,seriesOneandSeriesSixproduct,atGEFanucNorthAmerica,'isthatPLCswillbeusedintheprocessindustrybutnotnecessarilyforprocesscontrol."Severalvendors-obviouslybettingthattheoppositewillhappen-haveintroducedPLCsoptimizedforprocessapplication.RichRyan,manger,commercialmarketing,Allen-bradleyProgrammableControlsDiv.,citesPLCs'sincreasingusesuchindustriesasfood,chemicals,andpetroleum.Ryanfeelstherearetwotypesofapplicationsinwhichthey'reappropriate."one,"hesays,"iswherethesizeoftheprocesscontrolsystemthat'sbeingautomateddoesn'tjustifyDCS[distributedcontrolsystem].Withthestartingpricetagsofchoseproductsbeingrelativelyhigh,aprogrammablecontrollermakessenseforsmall,lowloopcountapplication.Thesecondiswhereyouhavetointegratetheloopcloselywiththesequentiallogical.Batchcontrollersareprimeexample,wherethesequenceandmaintainingtheprocessvariableareintertwinedsocloselythatthebenefitsofhavingaprogrammablecontrollertodothesequentiallogicaloutweighssomeofthedisadvantagesofnothavingadistributedcontrolsystem."BillBarkovitz,presidentofTriconex,predictsthat"allfuturecontrollersthatcomeoutintheprocesscontrolsystembusinesswillembracealotofmorePLCtechnologyandalotmorePLCfunctionalitythantheyeverdidbefore."CommunicationsandMAPCommunicationsarevitaltoanindividualautomationcellandtobeautomatedfactoryasawhole.We'veheardalotaboutMAPinthelastfewyears,andalotofcompanieshavejumpedonthebandwagon.[2]Many,however,weredisappointedwhenafully-definedandcompletedMAPspecificationdidn'tappearimmediately.SaysLarryKomarek:"Rightnow,MAPisstillamovingtargetforthemanufacturers,aspecificationthatisnotfinal.Presently,forexample.peopleareintroducingproductstomeetthe.productswillbeobsoletewhenthenewstandardforisintroduced."Becauseofthis,manyPLCvendorsareholdingoffonfullMAPimplementations.Omron,forexample,hasanongoingMAP-compatibilityprogram;[3]butFrankNewburn,vicepresidentofOmron'sIndustrialDivision,reportsthatbecauseofthelackofafirmdefinition,Omron'sPLCsdon'tyettalktoMAP.Sinceit'sunlikelythatanindividualPLCwouldtalktobroadMAPanyway,makersareconcentratingonproprietarynetworks.AccordingtoSalProvanzano,usersfearthatiftheydogetonboardandvendorswithdrawfromMAP,they'llbetheonesleftholdingacommunicationsstructurethat'snotsupported.UniversalI/OWhilethereareconcernsaboutthelackofcompatiblecommunicationsbetweenPLCsfromdifferentvendors,theconnectionattheotherend-theI/O-isevenmorefragmented.Withrareexceptions,I/Oisstillproprietary.YettherearethosewhofeelthatI/Owilleventuallybecomemoreuniversal.GEFanucishopingtodothatwithitsGeniussmartI/Oline.TheindependentI/Omakersarepullinginthesamedirection.ManysaythatI/Oissuchahigh-valueitemthatPLCmakerswillalwayswanttokeepitproprietary.AsKenJannotta,says:"TheI/Oisgoingtobeadisproportionateamountofthehardwaresale.CertainlyeachPLCvendorisgoingtotrytoprotectthat."Forthatreason,hesays,PLCmakerswon'tbeginsellinguniversalI/Osystemfromothervendor."ifwestartsellingthatkindofproduct,"saysjannotta,"whatdowemanufacture"WithmoreintelligentI/Oappearing,SalProvanzanofeelsthiswillleadtomoredifferentiationamongI/Ofromdifferentmakers."WheretheI/Obecomesextremelyintelligentandbecomespartofthesystem,"hesays,"itreallyishardtodefinewhichistheI/OandwhichisCPU.ItreallyCPU,ifyouwill,isequallyintegratedintothesystemastheI/O."ConnectingPLCI/OtoPCsWhiledifferentPLCsprobablywillcontinuetouseproprietaryI/O,severalvendorsmakeitpossibletoconnectstheirI/OtoIBMPC-compatibleequipment.Alle-bradeley,Could,andCincinnatiMilacronalreadyhave,andrumorhasitthatGEisplanningsomethingalongthesesamelines.[4]Bi11Ketelhut,manageofproductplanningatGEFanucNorthAmerica,seesthissortofthingasalternativetouniversalI/O."Ithinkthetrend,insteadoftowarduniversalI/O,wi11bemultiplehostinterface,"hesays.JodieGlore,directorofmarking,SquareDAutomationProducts,ViewsitasanotherindicationthatPLCsare,andhavebeenforsometime,industrialcomputers.PLCsVSPCsIftheIBM7552,theActionInstrumentsBC22,andothercomputersareappearingonthefactoryfloor,won'tthismeannewcompetitionforPLCsRichRyan:"Therearesomecontrolfunctionsthatarebetterjobsforcomputers.Programmablecontrollershavebeenforcedtofitintothoseapplications."Yet,themajorityofvendorswesurveyeddon'tlikethe"PCinvasion"willposeaproblemforthem.MostsaidthatPLCsandPCsareenoughapartinarchitecturethattheywillusuallydothecontrol.Theydon'tfeelthatPCswilltakejobsfromPLCsjustbecausePLCI/OmodulescannowbeconnectedtoPCs;theybelievethissimplymeansthatPLCsandPCswillbeabletosharethesamedata."Thereareinherentarchitecturaldifferencesbetweenageneralpurposecomputer,"saysRichRyan,"andaprogrammablecontroller.Therearehardwareconstructsbuiltintoalmosteverymanufacture'sprogrammablecontrollertodaythatcustomizethehardwareto ru n ladderlogicandtosolvemachinecode."Onefundamentaldifferencehe c itesiscalledstateofthemachine.Ryan:"Whenyoushutthemachine off, orinterruptthecycle,oryoujumptoanotherspotinthecycle,programmablecontrollersinherentlyrememberthestateofthemachine:whatthetimerswere,whatthecounterswere,whatthestatesofallthelatcheswere.Computersdon'tinherentlydothat."WORDSANDTERMSbetv.确信optimizedn.优化程序corporateadj.共同的mushroom▼.迅速发展trigonometricfunction三角函数vendor门.厂商tagn.标签smartadj.智能型的compatibleadj.兼容的2、外文资料翻译译文单片机基础单片机是电脑和集成电路发展的巅峰,有据可查的是他们也是20世纪最有意义的两大发明。这两种特性在单片机中得到了充分的体现。一些厂家用这两种特性区分程序内存和数据内存在硬件中的特性,如图3-5A-1,依据同样的原理广泛的适用于一般目的的电脑和微电脑,一些厂家在程序内存和数据内存之间不区分的像Princeton特性,展示如图3-5A-2.只读存贮器(ROM).ROM是通常的永久性的,非应用程序的易失性存储器。不少微机和单片机用于大批量应用,因此,经济的设备制造要求的程序存储器的内容是在制造期间永久性的刻录在芯片中,这意味着严谨的方法,因为修改ROM代码不能制造之后发展。这一发展过程可能涉及仿真,使用硬件仿真功能以及强大的软件工具使用先进的开发系统。一些制造商在其提供的设备包括的范围(或拟使用)用户可编程内存.其中最简单的通常是设备能够运行于微处理器模式通过使用一些输入/输出作为地址线额外的ROM选项和数据总线访问外部内存.这种类型的设备可以表现为单芯片微型计算机尽管有限制的I/O和外部修改这些设备的电路.小内存装置的应用是非常普遍的在永久性内存的制造中[2];但仍然可以在我节省大量成本I/O和其它芯片相比,传统的基于微处理器电路.更准确的ROM设备更换,可在与'形式变种背驮式'EPROM(可擦除可编程只读存储器)插座或存储器,而不是ROM器件。这些器件自然价格比同等ROM设备贵,但不提供完整的等效电路.EPROM的设备也非常有吸引力对于低容量应用中,他们提供的单芯片器件的优势,在以下方面的板载I/O等,在灵活的用户可编程带来的便利。随机存取存储器(RAM)。RAM用于变量和工作在程序使用该存储器的执行.随数据存储设备的大小不同类型而有所不同,但具有相同的特征宽度(4,8,16比特等)作为处理器。特殊功能寄存器,如栈指针或定时器寄存器,往往逻辑纳入内存区域.它也在型微电脑的硬件中做集中内存,它是不必要的区分内存和处理器之间的区别在通常不物理上分开的微机中。中央处理单元(CPU)。CPU是很象微型电子计算机和微控制器的任何微电脑.许多微电脑和微控制器涉及到二进制编码(十进制处理(BCD)的数据为例)数字显示,因而,常常可以发现该CPU是很适合处理这种类型的数据。对设施良好与否进行的测试,设置和重置单个位的内存或I/O控制器的应用程序,也是常见的因为许多涉及打开和关闭的单输出线或在单线.这些线很容易连接到二进制的设备,如开关,恒温器,固态继电器,阀门,电机等并行输入/输出.并行输入和输出的计划有所不同,在不同的微机,在大多数设立一个机制,至少选择让其中一些引脚输出,一些引脚输如是非常灵活的。这可能适用于所有或端口.有些I/O线直接连接到适当的设备,例如,荧光显示器,也可以提供足够的电流,使接口和其他设备直接相连.一些设备允许一个I/O端口,其他组件将作为系统总线配置为允许片外存储器和I/O扩展。这个设施是潜在有用的一个产品系列的发展,因为连续增强可能成为太上存储器,这是不可取的,不是建立在现有的软件基础上的。串行输入/输出。串行通信是指与终端设备的链接使用少量的通讯线.这种通讯也可利用特殊的接口连接功能芯片使几个微型机连在一起。双方共同异步同步通信方案要求的规则提供成帧(启动和停止)的信息。这可以作为一个硬件设施或U(拧)艺术(通用执行(同步)异步接收器/发送器)减轻处理器(和应用程序)的这种低层次的确费时.它也只需要选择一个波特率及其他可能的选择(停止位,奇偶校验等)和负载号码(或读取),串行发送器(或接收)的缓冲器.进行适当的格式的数据串行处理,然后由硬件电路完成。定时/计数器设施。许多应用的单片机需要对过去的真实时间准确的评价。这可以由每个程序中的执行时间分支认真评估,但除最简单的程序外,他的工作效率不高。首选方法是使用计时器电路,能独立计算精确的时间增量,并生成一个预设的时间后中断的时间。这种类型的定时器通常在所要求的数量可重载中应用。计时器然后减少此值产生中断或设置标记时,计数器到达零.更好的计时器有自动加载初始值的功能。这将缓解重新加载计数器和评估所用的时间,计时器重新启动之前这是必要的。有时候与定时器相关的是一个事件计数器。这个设备通常有一个特殊的输入引脚,可直接驱动计数器。定时元件。大多数微型计算机时钟电路只需要简单的计时元件.如果要求最高性能,必须使用晶体以确保最大时钟频率接近,但不会超出。许多时钟电路,还具有电阻和低电容工作成本定时元件,也可以从外部源驱动。这后一种安排是有用的在微机外部同步是必需的时候。B:PLC[1]今天的PLC(可编程逻辑控制器)将面对日益复杂的挑战。一旦他们悄悄地取代继电器,偶尔向主机报告,如果他们将他们比作细胞,赋予新的工作和新
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 餐饮农庄出租协议书
- 车辆购买赠予协议书
- Brand KPIs for shoes Russell Bromley in the United Kingdom-外文版培训课件(2025.2)
- 车位委托出租协议书
- 恶性肿瘤细胞生物学特征与防治策略
- 厂房金卤灯订购协议书
- 超市啤酒合作协议书
- 体育馆培训合同协议书
- 重庆小面合同协议书
- 高空安装安全协议书
- 2025年信息系统管理知识考试试题及答案
- 中介股东合同范例
- 马法理学试题及答案
- 2025年全国保密教育线上培训考试试题库附完整答案(夺冠系列)含答案详解
- 合伙人协议书模板
- 2025年下半年扬州现代农业生态环境投资发展集团公开招聘易考易错模拟试题(共500题)试卷后附参考答案
- 2025年中考第一次模拟考试卷:生物(成都卷)解析版
- 量子计算中的量子比特稳定性研究-全面剖析
- 构建健全企业资金体系
- 建筑施工现场安全管理指南
- 2025年山东济南先行投资集团有限责任公司招聘笔试参考题库附带答案详解
评论
0/150
提交评论