单片机外文文献.docx

上传人:李司机 文档编号:4321578 上传时间:2023-04-17 格式:DOCX 页数:5 大小:50.66KB
返回 下载 相关 举报
单片机外文文献.docx_第1页
第1页 / 共5页
单片机外文文献.docx_第2页
第2页 / 共5页
单片机外文文献.docx_第3页
第3页 / 共5页
单片机外文文献.docx_第4页
第4页 / 共5页
单片机外文文献.docx_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
资源描述

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

1、A:FundamentalsofSingle-chipMicrocomputerThesingle-chipmicrocomputeristheculminationofboththedevelopmentofthedigitalcomputerandtheintegratedcircuitarguablythetowmostsignificantinventionsofthe20thcenturyThesetowtypesofarchitecturearefoundinsingle-chipmicrocomputer.Someemploythesplitprogram/datamemoryo

2、ftheHarvardarchitecture,showninFig.3-5A-1,othersfollowthephilosophy,widelyadaptedforgeneral-purposecomputersandmicroprocessors,ofmakingnologicaldistinctionbetweenProgramanddatamemoryasinthePrincetonarchitecture,showninFig.3-5A-2.Ingeneraltermsasingle-chipmicrocomputerischaracterizedbytheincorporatio

3、nofalltheunitsofacomputerintoasingledevice,asshowninFig3-5A-3.Fig,3-5A-1AHarvardtypeFig3-5A-3.PrincipalfeaturesofamicrocomputerReadonlymemory(ROM)ROMisusuallyforthepermanent,non-volatilestorageofanapplicationsprogram.Manymicrocomputersandmicrocontrollersareintendedforhigh-volumeapplicationsandhencet

4、heeconomicalmanufactureofthedevicesrequiresthatthecontentsoftheprogrammemorybecommittedpermanentlyduringthemanufactureofchips.Clearly,thisimpliesarigorousapproachtoROMcodedevelopmentsincechangescannotbemadeaftermanufacture.Thisdevelopmentprocessmayinvolveemulationusingasophisticateddevelopmentsystem

5、withahardwareemulationcapabilityaswellastheuseofpowerfulsoftwaretools.SomemanufacturersprovideadditionalROMoptionsbyincludingintheirrangedeviceswith(orintendedforusewith)userprogrammablememory.Thesimplestoftheseisusuallydevicewhichcanoperateinamicroprocessormodebyusingsomeoftheinput/outputlinesasana

6、ddressanddatabusforaccessingexternalmemory.ThistypeofdevicecanbehavefunctionallyasthesinglechipmicrocomputerfromWhichitisderivedaIbeitWithrestrictedI/Oandamodifiedexternalcircuit.TheuseoftheseROMlessdevicesiscommoneveninproductioncircuitswherethevolumedoesnotjustifythedevelopmentcostsofcustomon-chip

7、ROM2;therecanstillbeasignificantsavinginI/Oandotherchipscomparedtoaconventionalmicroprocessorbasedcircuit.MoreexactreplacementforROMdevicescanbeobtainedintheformofvariantswith,piggy-back,EPROM(ErasableprogrammableROM)socketsordevicesW汕EPROMinsteadofROM.Thesedevicesarenaturallymoreexpensivethanequiva

8、lentROMdevice,butdoprovidecompIetecircuitequivalents.EPROMbaseddevicesarealsoextremelyattractiveforlow-volumeapplicationswheretheyprovidetheadvantagesofasingle-chipdevice,intermsofon-chipI/O,etc.,withtheconvenienceofflexibleuserprogrammability.Randomaccessmemory(RAM).RAMisforthestorageofworkingvaria

9、blesanddatausedduringprogramexecution.Thesizeofthismemoryvarieswithdevicetypebutithasthesamecharacteristicwidth(4,8,16bitsetc.)astheprocessor,Specialfunctionregisters,suchasstackpointerortimerregisterareoftenlogicallyincorporatedintotheRAMarea.ItisalsocommoninHardtypemicrocomputerstotreattheRAMareaa

10、sacollectionofregister;itisunnecessarytomakedistinctionbetweenRAMandprocessorregisterasisdoneinthecaseofamicroprocessorsystemsinceRAMandregistersarenotusuallyphysicallyseparatedinamicrocomputer.Centralprocessingunit(CPU).TheCPUismuchlikethatofanymicroprocessor.Manyapplicationsofmicrocomputersandmicr

11、ocontrollersinvolvethehandlingofbinary-codeddecimal(BCD)data(fornumericaldisplays,forexample),henceitiscommontofindthattheCPUiswelladaptedtohandlingthistypeofdata.Itisalsocommontofindgoodfacilitiesfortesting,settingandresettingindividualbitsofmemoryorI/Osincemanycontrollerapplicationsinvolvetheturni

12、ngonandoffofsingleoutputlinesorthereadingthesingleline.Theselinesarereadilyinterfacedtotwo-statedevicesSuchasswitches,thermostats,solid-staterelays,valves,motor,etc.Parallelinput/output.Parallelinputandoutputschemesvarysomewhatindifferentmicrocomputer;inmostamechanismisprovidedtoatleastallowsomeflex

13、ibilityofchoosingwhichpinsareoutputsandwhichareinputs.Thismayapplytoallorsomeoftheports.SomeI/Olinesaresuitablefordirectinterfacingto,forexample,fluorescentdisplays,orcanprovidesufficientcurrenttomakeinterfacingothercomponentsstraightforward.SomedevicesallowanI/Oporttobeconfiguredasasystembustoallow

14、off-chipmemoryandI/Oexpansion.Thisfacilityispotentiallyusefulasaproductrangedevelops,Sincesuccessiveenhancementsmaybecometoobigforon-chipmemoryanditisundesirablenottobuildontheexistingsoftwarebase.Serialinput/output.Serialcommunicationwithterminaldevicesiscommonmeansofprovidingalinkusingasmallnumber

15、oflines.Thissortofcommunicationcanalsobeexploitedforinterfacingspecialfunctionchipsorlinkingseveralmicrocomputerstogether.Boththecommonasynchronoussynchronouscommunicationschemesrequireprotocolsthatprovideframing(startandstop)information.ThiscanbeimplementedasahardwarefacilityorU(S)ART(Universal(Syn

16、chronous)asynchronousreceiver/transmitter)relievingtheprocessor(andtheapplicationsprogrammer)ofthislow-level,time-consuming,detail,tismerelynecessarytoselectedabaud-rateandpossiblyotheroptions(numbcrofstopbits,parity,etc.)andload(orreadfrom)theserialtransmitter(orreceiver)buffer.Serializationoftheda

17、taintheappropriateformatisthenhandledbythehardwarecircuit.TimingZcounterfacilities.Manyapplicationofsingle-chipmicrocomputersrequireaccurateevaluationofelapsedrealtime.Thiscanbedeterminedbycarefulassessmentoftheexecutiontimeofeachbranchinaprogrambutthisrapidlybecomesinefficientforallbutsimplestprogr

18、ams.Thepreferredapproachistousetimercircuitthatcanindependentlycountprecisetimeincrementsandgenerateaninterruptafterapresettimehaselapsed.Thistypeoftimerisusuallyarrangedtobereloadablewiththerequiredcount.Thetimerthendecrementsthisvalueproducinganinterruptorsettingaflagwhenthecounterreacheszero.Bett

19、ertimersthenhavetheabilitytoautomaticallyreloadtheinitialcountvalue.Thisrelievestheprogrammeroftheresponsibilityofreloadingthecounterandassessingelapsedlimebeforethetimerrestarted,whichotherwisewoundbenecessaryifcontinuouspreciselytimedinterruptswererequired(asinaclock,fbrexample).Sometimesassociate

20、dwithtimerisaneventcounter.Withthisfacilitythereisusuallyaspecialinputpin,thatcandrivethecounterdirectly.Timingcomponents.Theclockcircuitryofmostmicrocomputersrequiresonlysimpletimingcomponents.Ifmaximumperfbrmanceisrequired,acrystalmustbeusedtoensurethemaximumclockfrequencyisapproachedbutnotexceede

21、d.Manyclockcircuitsalsoworkwitharesistorandcapacitoraslow-costtimingcomponentsorcanbedrivenfromanexternalsource.Thislatterarrangementisusefulisexternalsynchronizationofthemicrocomputerisrequired.B:PLC1PLCs(programmablelogicalcontroller)faceevermorecomplexchallengesthesedays.Whereoncetheyquietlyrepla

22、cedrelaysandgaveanoccasionalreporttoacorporatemainframe,theyarenowgroupedintocells,givennewjobandnewlanguages,andareforcedtocompeteagainstagrowingarrayofcontrolproducts.Forthisyear,sannualPLCtechnologyupdate,wequeriedPLCmakersonthesetopicsandmore.ProgramminglanguagesHigherlevelPLCProgramminglanguage

23、shavebeenaroundforsometime,butlatelytheirpopularityhasmushrooming.,AsRaymondLeveille,vicepresident&generalmanager,SiemensEnergy&Automation.inc;Programmablecontrolsarebeingusedformoreandmoresophisticatedoperations,languagesotherthanladderlogicbecomemorepractical,efficient,andpowerful.Forexample,itsve

24、rydifficulttowriteatrigonometricfunctionusingladderlogic.LanguagesgainingacceptanceincludeBoolean,controlsystemflowcharting,andsuchfunctionchartlanguagesasGraphcetanditsvariation.AndtheresincreasinginterestinlanguageslikeCandBASIC.PLCsinprocesscontrolThusfar,PLCshavenotbeenusedextensivelyforcontinuo

25、usprocesscontrol.Willthiscontinue?Thefeelingthatvegotten,saysKenJannotta,manger,productplanning,seriesOneandSeriesSixproduct,atGEFanucNorthAmerica,isthatPLCSwillbeusedintheprocessindustrybutnotnecessarilyforprocesscontrol.Severalvendors-obviouslybettingthattheoppositewillhappen-haveintroducedPLCSopt

26、imizedforprocessapplication.RichRyan,manger,commercialmarketing,Allen-bradleyProgrammableControlsDiv.,citesPLCssincreasingusesuchindustriesasfood,chemicals,andpetroleum.Ryanfeelstherearetwotypesofapplicationsinwhichtheyreappropriate,one,hesays,iswherethesizeoftheprocesscontrolsystemthatsbeingautomat

27、eddoesntjustifyDCSdistributedcontrolsystem.Withthestartingpricetagsofchoseproductsbeingrelativelyhigh,aprogrammablecontrollermakessenseforsmall,lowloopcountapplication.Thesecondiswhereyouhavetointegratetheloopcloselywiththesequentiallogical.Batchcontrollersareprimeexample,wherethesequenceandmaintain

28、ingtheprocessvariableareintertwinedsocloselythatthebenefitsofhavingaprogrammablecontrollertodothesequentiallogicaloutweighssomeofthedisadvantagesofnothavingadistributedcontrolsystem.BillBarkovitz,presidentofTriconex,predictsthatallfuturecontrollersthatcomeoutintheprocesscontrolsystembusinesswillembr

29、acealotofmorePLCtechnologyandalotmorePLCfunctionalitythantheyeverdidbeforeCommunicationsandMAPCommunicationsarevitaltoanindividualautomationcellandtobeautomatedfactoryasawhole.Wevehearda1olaboutMAPinthe1astfewyears,andalolofcompanieshavejumpedonthebandwagon.2Many,however,weredisappointedwhenafully-d

30、efinedandcompIetedMAPspecificationdidntappearimmediately.SaysLarryKomarek:Rightnow,MAPisStillamovingtargetforthemanufacturers,aspecificalionthatisnotfinal.Presently,forexample.peopleareintroducingproductstomeettheMAP2.1standard.Yet2.1-basedproductswillbeobsoletewhenthenewstandardforMAP3.Oisintroduce

31、d.Becauseofthis,manyPLCvendorsareholdingoffonfullMAPimplementations.Omron,forexample,hasanongoingMAP-Compatibilityprogram;3butFrankNewbum,vicepresidentofOmronsIndustrialDivision,reportsthatbecauseofthelackofafirmdefinition,OmronsPLCsdontyettalktoMAP.Sinceit,sunlikelythatanindividualPLCwouldtalktobro

32、adMAPanyway,makersareconcentratingonproprietarynetworks.AccordingtoSalProvanzano,usersfearthatiftheydogetonboardandvendorswithdrawfromMAP,theyllbetheonesleftholdingacommunicationsstructurethatsnotsupported.UniversalI/OWhilethereareconcernsaboutthelackofcompatiblecommunicationsbetweenPLCsfromdifferen

33、tvendors,theconnectionattheotherend-the1/0-isevenmorefragmented.Withrareexceptions,I/Oisstillproprietary.Yettherearethosewhofeelthat1/0willeventuallybecomemoreuniversal.GEFanucishopingtodothatwithitsGeniussmartI/Oline.TheindependentI/Omakersarepullinginthesamedirection.ManysaythatI/Oissuchahigh-valu

34、eitemthatPLCmakerswillalwayswanttokeepitproprietary.AsKenJannotta,says:TheI/Oisgoingtobeadisproportionateamountofthehardwaresale.CertainlyeachPLCvendorisgoingtotrytoprotectthat.Forthatreason,hesays,PLCmakerswontbeginsellinguniversalI/Osystemfromothervendor.,ifwestartsellingthatkindofproduct,saysjann

35、otta,whatdowemanufacture?WithmoreintelligentI/Oappearing,SalProvanzanofeelsthiswillleadtomoredifferentiationamongI/Ofromdifferentmakers.,WheretheI/Obecomesextremelyintelligentandbecomespartofthesystem,hesays,itreallyishardtodefinewhichistheI/OandwhichisCPU.ItreallyCPU,ifyouwill,isequallyintegratedin

36、tothesystemastheI/O.ConnectingPLCI/OtoPCsWhiledifferentPLCSprobablywillcontinuetouseproprietaryI/O,severalvendorsmakeitpossibletoconnect5theirI/OtoIBMPC-compatibleequipment.Alle-bradeley,Could,andCincinnatiMilacronalreadyhave,andrumorhasitthatGEisplanningsomethingalongthesesamelines.4BillKetelhut,ma

37、nageofproductplanningatGEFanucNorthAmerica,seesthissortofthingasalternativetouniversalI/O.1thinkthetrend,insteadoftowarduniversalI/O,willbemultiplehostinterface,hesaysJodieGlore,directorofmarking,SquareDAutomationProducts,ViewsitasanotherindicationthatPLCSare,andhavebeenforsometime,industrialcompute

38、rs.PLCsVSPCsIftheIBM7552,theActionInstrumentsBC22,andothercomputersareappearingonthefactoryfloor,wontthismeannewcompetitionforPLCs?RichRyan:Therearesomecontrolfunctionsthatarebetterjobsforcomputers.Programmablecontrollershavebeenforcedtofitintothoseapplications.,Yet,themajorityofvendorswesurveyeddon

39、tlikethePCinvasionwillposeaproblemforthem.MostsaidthatPLCSandPCsareenoughapartinarchitecturethattheywillusuallydothecontrol.TheydontfeelthatPCswilltakejobsfromPLCsjustbecausePLCI/OmodulescannowbeconnectedtoPCs;theybelievethissimplymeansthatPLCSandPCswillbeabletosharethesamedata.Thereareinherentarchi

40、tecturaldifferencesbetweenageneralpurposecomputer,saysRichRyan,andaprogrammablecontroller.Therearehardwareconstructsbuiltintoalmosteverymanufacturesprogrammablecontrollertodaythatcustomizethehardwaretorunladderlogicandtosolvemachinecode.Onefundamentaldifferencehecitesiscalledstateofthemachine.Ryan:Whenyoushutthemachineoff,orinterruptthecycle,oryoujumptoanotherspotinthecycle,programmablecontrollersinherentlyrememberthestateofthemachine:whatthetimerswere,whatthecounterswere,whatthestatesofallthelatcheswere.Computersdontinherentlydothat.

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

当前位置:首页 > 生活休闲 > 在线阅读


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号