單片機外文文獻翻譯_第1頁
單片機外文文獻翻譯_第2頁
單片機外文文獻翻譯_第3頁
單片機外文文獻翻譯_第4頁
單片機外文文獻翻譯_第5頁
已閱讀5頁,還剩10頁未讀 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

單片機外文文獻翻譯單片機外文文獻翻譯單片機外文文獻翻譯xxx公司單片機外文文獻翻譯文件編號:文件日期:修訂次數(shù):第1.0次更改批準審核制定方案設(shè)計,管理制度外文原文A:FundamentalsofSingle-chipMicrocomputerThesingle-chipmicrocomputeristheculminationofboththedevelopmentofthedigitalcomputerandtheintegratedcircuitarguablythetowmostsignificantinventionsofthe20thcenturyThesetowtypesofarchitecturearefoundinsingle-chipmicrocomputer.Someemploythesplitprogram/datamemoryoftheHarvardarchitecture,shownin-5A,othersfollowthephilosophy,widelyadaptedforgeneral-purposecomputersandmicroprocessors,ofmakingnologicaldistinctionbetweenprogramanddatamemoryasinthePrincetonarchitecture,shownin-5A.Ingeneraltermsasingle-chipmicrocomputerischaracterizedbytheincorporationofalltheunitsofacomputerintoasingledevice,asshowninFig3-5A-3.ProgramProgrammemoryInput&OutputInput&OutputunitCPUCPUDatamemoryDatamemory-5A-1AInput&OutputInput&OutputunitCPUmemorymemory-5A.AconventionalPrincetoncomputerTimer/CounterSystemTimer/CounterSystemclockExternalTimingcomponentsSerialI/OSerialI/OROMROMResetPrarallelI/OPrarallelI/ORAMInterruptsRAMCPUCPUPowerFig3-5A-3.PrincipalfeaturesofamicrocomputerReadonlymemory(ROM)ROMisusuallyforthepermanent,non-volatilestorageofanapplicationsprogram.Manymicrocomputersandmicrocontrollersareintendedforhigh-volumeapplicationsandhencetheeconomicalmanufactureofthedevicesrequiresthatthecontentsoftheprogrammemorybecommittedpermanentlyduringthemanufactureofchips.Clearly,thisimpliesarigorousapproachtoROMcodedevelopmentsincechangescannotbemadeaftermanufacture.Thisdevelopmentprocessmayinvolveemulationusingasophisticateddevelopmentsystemwithahardwareemulationcapabilityaswellastheuseofpowerfulsoftwaretools.SomemanufacturersprovideadditionalROMoptionsbyincludingintheirrangedeviceswith(orintendedforusewith)userprogrammablememory.Thesimplestoftheseisusuallydevicewhichcanoperateinamicroprocessormodebyusingsomeoftheinput/outputlinesasanaddressanddatabusforaccessingexternalmemory.ThistypeofdevicecanbehavefunctionallyasthesinglechipmicrocomputerfromwhichitisderivedalbeitwithrestrictedI/Oandamodifiedexternalcircuit.TheuseoftheseROMlessdevicesiscommoneveninproductioncircuitswherethevolumedoesnotjustifythedevelopmentcostsofcustomon-chipROM[2];therecanstillbeasignificantsavinginI/Oandotherchipscomparedtoaconventionalmicroprocessorbasedcircuit.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.ItisalsocommoninHardtypemicrocomputerstotreattheRAMareaasacollectionofregister;itisunnecessarytomakedistinctionbetweenRAMandprocessorregisterasisdoneinthecaseofamicroprocessorsystemsinceRAMandregistersarenotusuallyphysicallyseparatedinamicrocomputer.Centralprocessingunit(CPU).TheCPUismuchlikethatofanymicroprocessor.Manyapplicationsofmicrocomputersandmicrocontrollersinvolvethehandlingofbinary-codeddecimal(BCD)data(fornumericaldisplays,forexample),henceitiscommontofindthattheCPUiswelladaptedtohandlingthistypeofdata.Itisalsocommontofindgoodfacilitiesfortesting,settingandresettingindividualbitsofmemoryorI/Osincemanycontrollerapplicationsinvolvetheturningonandoffofsingleoutputlinesorthereadingthesingleline.Theselinesarereadilyinterfacedtotwo-statedevicessuchasswitches,thermostats,solid-staterelays,valves,motor,etc.Parallelinput/output.Parallelinputandoutputschemesvarysomewhatindifferentmicrocomputer;inmostamechanismisprovidedtoatleastallowsomeflexibilityofchoosingwhichpinsareoutputsandwhichareinputs.Thismayapplytoallorsomeoftheports.SomeI/Olinesaresuitablefordirectinterfacingto,forexample,fluorescentdisplays,orcanprovidesufficientcurrenttomakeinterfacingothercomponentsstraightforward.SomedevicesallowanI/Oporttobeconfiguredasasystembustoallowoff-chipmemoryandI/Oexpansion.Thisfacilityispotentiallyusefulasaproductrangedevelops,sincesuccessiveenhancementsmaybecometoobigforon-chipmemoryanditisundesirablenottobuildontheexistingsoftwarebase.Serialinput/output.Serialcommunicationwithterminaldevicesiscommonmeansofprovidingalinkusingasmallnumberoflines.Thissortofcommunicationcanalsobeexploitedforinterfacingspecialfunctionchipsorlinkingseveralmicrocomputerstogether.Boththecommonasynchronoussynchronouscommunicationschemesrequireprotocolsthatprovideframing(startandstop)information.ThiscanbeimplementedasahardwarefacilityorU(S)ART(Universal(synchronous)asynchronousreceiver/transmitter)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,whichotherwisewoundbenecessaryifcontinuouspreciselytimedinterruptswererequired(asinaclock,forexample).Sometimesassociatedwithtimerisaneventcounter.Withthisfacilitythereisusuallyaspecialinputpin,thatcandrivethecounterdirectly.Timingcomponents.Theclockcircuitryofmostmicrocomputersrequiresonlysimpletimingcomponents.Ifmaximumperformanceisrequired,acrystalmustbeusedtoensurethemaximumclockfrequencyisapproachedbutnotexceeded.Manyclockcircuitsalsoworkwitharesistorandcapacitoraslow-costtimingcomponentsorcanbedrivenfromanexternalsource.Thislatterarrangementisusefulisexternalsynchronizationofthemicrocomputerisrequired.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,ductswillbeobsoletewhenthenewstandardforisintroduced."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,severalvendorsmakeitpossibletoconnect5theirI/OtoIBMPC-compatibleequipment.Alle-bradeley,Could,andCincinnatiMilacronalreadyhave,andrumorhasitthatGEisplanningsomethingalongthesesamelines.[4]BillKetelhut,manageofproductplanningatGEFanucNorthAmerica,seesthissortofthingasalternativetouniversalI/O."Ithinkthetrend,insteadoftowarduniversalI/O,willbemultiplehostinterface,"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'sprogrammablecontrollertodaythatcustomizethehardwaretorunladderlogicandtosolvemachinecode."Onefundamentaldifferencehecitesiscalledstateofthemachine.Ryan:"Whenyoushutthemachineoff,orinterruptthecycle,oryoujumptoanotherspotinthecycle,programmablecontrollersinherentlyrememberthestateofthemachine:whatthetimerswere,whatthecounterswere,whatthestatesofallthelatcheswere.Computersdon'tinherentlydothat."外文資料翻譯譯文單片機基礎(chǔ)單片機是電腦和集成電路發(fā)展的巔峰,有據(jù)可查的是他們也是20世紀最有意義的兩大發(fā)明。這兩種特性在單片機中得到了充分的體現(xiàn)。一些廠家用這兩種特性區(qū)分程序內(nèi)存和數(shù)據(jù)內(nèi)存在硬件中的特性,如圖3-5A-1,依據(jù)同樣的原理廣泛的適用于一般目的的電腦和微電腦,一些廠家在程序內(nèi)存和數(shù)據(jù)內(nèi)存之間不區(qū)分的像Princeton特性,展示如圖3-5A-2.只讀存貯器(ROM).ROM是通常的永久性的,非應(yīng)用程序的易失性存儲器。不少微機和單片機用于大批量應(yīng)用,因此,經(jīng)濟的設(shè)備制造要求的程序存儲器的內(nèi)容是在制造期間永久性的刻錄在芯片中,這意味著嚴謹?shù)姆椒?,因為修改ROM代碼不能制造之后發(fā)展。這一發(fā)展過程可能涉及仿真,使用硬件仿真功能以及強大的軟件工具使用先進的開發(fā)系統(tǒng)。一些制造商在其提供的設(shè)備包括的范圍(或擬使用)用戶可編程內(nèi)存.其中最簡單的通常是設(shè)備能夠運行于微處理器模式通過使用一些輸入/輸出作為地址線額外的ROM選項和數(shù)據(jù)總線訪問外部內(nèi)存.這種類型的設(shè)備可以表現(xiàn)為單芯片微型計算機盡管有限制的I/O和外部修改這些設(shè)備的電路.小內(nèi)存裝置的應(yīng)用是非常普遍的在永久性內(nèi)存的制造中[2];但仍然可以在我節(jié)省大量成本I/O和其它芯片相比,傳統(tǒng)的基于微處理器電路.更準確的ROM設(shè)備更換,可在與'形式變種背馱式'EPROM(可擦除可編程只讀存儲器)插座或存儲器,而不是ROM器件。這些器件自然價格比同等ROM設(shè)備貴,但不提供完整的等效電路.EPROM的設(shè)備也非常有吸引力對于低容量應(yīng)用中,他們提供的單芯片器件的優(yōu)勢,在以下方面的板載I/O等,在靈活的用戶可編程帶來的便利。隨機存取存儲器(RAM)。RAM用于變量和工作在程序使用該存儲器的執(zhí)行.隨數(shù)據(jù)存儲設(shè)備的大小不同類型而有所不同,但具有相同的特征寬度(4,8,16比特等)作為處理器。特殊功能寄存器,如棧指針或定時器寄存器,往往邏輯納入內(nèi)存區(qū)域.它也在型微電腦的硬件中做集中內(nèi)存,它是不必要的區(qū)分內(nèi)存和處理器之間的區(qū)別在通常不物理上分開的微機中。中央處理單元(CPU)。CPU是很象微型電子計算機和微控制器的任何微電腦.許多微電腦和微控制器涉及到二進制編碼(十進制處理(BCD)的數(shù)據(jù)為例)數(shù)字顯示,因而,常??梢园l(fā)現(xiàn)該CPU是很適合處理這種類型的數(shù)據(jù)。對設(shè)施良好與否進行的測試,設(shè)置和重置單個位的內(nèi)存或I/O控制器的應(yīng)用程序,也是常見的因為許多涉及打開和關(guān)閉的單輸出線或在單線.這些線很容易連接到二進制的設(shè)備,如開關(guān),恒溫器,固態(tài)繼電器,閥門,電機等并行輸入/輸出.并行輸入和輸出的計劃有所不同,在不同的微機,在大多數(shù)設(shè)立一個機制,至少選擇讓其中一些引腳輸出,一些引腳輸如是非常靈活的。這可能適用于所有或端口.有些I/O線直接連接到適當?shù)脑O(shè)備,例如,熒光顯示器,也可以提供足夠的電流,使接口和其他設(shè)備直接相連.一些設(shè)備允許一個I/O端口,其他組件將作為系統(tǒng)總線配置為允許片外存儲器和I/O擴展。這個設(shè)施是潛在有用的一個產(chǎn)品系列的發(fā)展,因為連續(xù)增強可能成為太上存儲器,這是不可取的,不是建立在現(xiàn)有的軟件基礎(chǔ)上的。串行輸入/輸出。串行通信是指與終端設(shè)備的鏈接使用少量的通訊線.這種通訊也可利用特殊的接口連接功能芯片使幾個微型機連在一起。雙方共同異步同步通信方案要求的規(guī)則提供成幀(啟動和停止)的信息。這可以作為一個硬件設(shè)施或U(擰)藝術(shù)(通用執(zhí)行(同步)異步接收器/發(fā)送器)減輕處理器(和應(yīng)用程序)的這種低層次的確費時.它也只需要選擇一個波特率及其他可能的選擇(停止位,奇偶校驗等)和負載號碼(或讀?。?,串行發(fā)送器(或接收)的緩沖器.進行適當?shù)母袷降臄?shù)據(jù)串行處理,然后由硬件電路完成。定時/計數(shù)器設(shè)施。許多應(yīng)用的單片機需要對過去的真實時間準確的評價。這可以由每個程序中的執(zhí)行時間分支認真評估,但除最簡單的程序外,他的工作效率不高。首選方法是使用計時器電路,能獨立計算精確的時間增量,并生成一個預(yù)設(shè)的時間后中斷的時間。這種類型的定時器通常在所要求的數(shù)量可重載中應(yīng)用。計時器然后減少此值產(chǎn)生中斷或設(shè)置標記時,計數(shù)器到達零.更好的計時器有自動加載初始值的功能。這將緩解重新加載計數(shù)器和評估所用的時間,計時器重新啟動之前這是必要的。有時候與定時器相關(guān)的是一個事件計數(shù)器。這個設(shè)備通常有一個特殊的輸入引腳,可直接驅(qū)動計數(shù)器。定時元件。大多數(shù)微型計算機時鐘電路只需要簡單的計時元件.如果要求最高性能,必須使用晶體以確保最大時鐘頻率接近,但不會超出。許多時鐘電路,還具有電阻和低電容工作成本定時元件,也可以從外部源驅(qū)動。這后一種安排是有用的在微機外部同步是必需的時候。B:PLC[1]今天的PLC(可編程邏輯控制器)將面對日益復(fù)雜的挑戰(zhàn)。一旦他們悄悄地取代繼電器,偶爾向主機報告,如果他們將他們比作細胞,賦予新的工作和新的語言,將被迫和大量的控制產(chǎn)品競爭。對于今年的年度PLC技術(shù)的更新,我們對PLC的制造商會就這些主題提出更多問題.編程語言更高水平的PLC編程語言已經(jīng)推行有一段時間了,但最近的流行,如雨后春筍般。正如雷蒙德萊韋耶,副總裁兼總經(jīng)理,西門子能源和自動化公司,可編程控制正在為更復(fù)雜的操作使用,梯形邏輯比語言變得更加實際,有效和強大的。舉例來說,很難寫三角函數(shù)使用梯形邏輯?!罢Z言為人們所接受,包

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論