单片机英文文献.docx
- 文档编号:7405307
- 上传时间:2023-01-23
- 格式:DOCX
- 页数:6
- 大小:19.58KB
单片机英文文献.docx
《单片机英文文献.docx》由会员分享,可在线阅读,更多相关《单片机英文文献.docx(6页珍藏版)》请在冰豆网上搜索。
单片机英文文献
单片机英文文献
IntroductionofProgrammablecontrollers
Fromasimpleheritage,theseremarkablesystemshaveevolvedtonotonlyreplaceelectromechanicaldevices,buttosolveanever-increasingarrayofcontrolproblemsinbothprocessandnonprocessindustries.Byallindications,thesemicroprocessorpoweredgiantswillcontinuetobreaknewgroundintheautomatedfactoryintothe1990s.
HISTORY
Inthe1960s,electromechanicaldevicesweretheorderofthedayassfarascontrolwasconcerned.Thesedevices,commonlyknownasrelays,werebeingusedbythethousandstocontrolmanysequential-typemanufacturingprocessesandstand-alongmachines.Manyoftheserelayswereinuseinthetransportationindustry,morespecifically,theautomotiveindustry.Theserelaysusedhundredsofwiresandtheirinterconnectionstoeffectacontrolsolution.Theperformanceofarelaywasbasicallyreliable-atleastasasingledevice.Butthecommonapplicationsforrelaypanelscalledfor300to500ormorerelays,andthereliabilityandmaintenanceissuesassociatedwithsupportingthesepanelsbecameaverygreatchallenge.Costbecameanotherissue,forinspiteofthelowcostoftherelayitself,theinstalledcostofthepanelcouldbequitehigh.Thetotalcostincludingpurchasedparts,wiring,andinstallationlabor,couldrangefrom$30~$50perrelay.Tomakemattersworse,theconstantlychangingneedsofaprocesscalledforrecurringmodificationsofacontrolpanel.Withrelays,thiswasacostlyprospect,asitwasaccomplishedbyamajorrewiringeffortonthepanel.Inadditionthesechangesweresometimespoorlydocumented,causingasecond-shiftmaintenancenightmaremonthslater.Inlightofthis,itwasnotuncommontodiscardanentirecontrolpanelinfavorofanewonewiththeappropriatecomponentswiredinamannersuitedforthenewprocess.Addtothistheunpredictable,andpotentiallyhigh,costofmaintainingthesesystemsasonhigh-volumemotorvehicleproductionlines,anditbecameclearthatsomethingwasneededtoimprovethecontrolprocess–tomakeitmorereliable,easierto
troubleshoot,andmoreadaptabletochangingcontrolneeds.
Thatsomething,inthelate1960s,wasthefirstprogrammablecontroller.Thisfirst‘revolutionary’systemwandevelopedasaspecificresponsetotheneedsofthemajorautomotivemanufacturersintheUnitedStates.Theseearlycontrollers,orprogrammablelogiccontrollers(PLC),representedthefirstsystemsthat1couldbeusedonthefactoryfloor,2couldhavethere‘logic’
changedwithoutextensiverewiringorcomponentchanges,and3wereeasytodiagnoseandrepairwhenproblemsoccurred.
Itisinterestingtoobservetheprogressthathasbeenmadeinthepast15yearsintheprogrammablecontrollerarea.Thepioneerproductsofthelate1960smusthavebeenconfusingandfrighteningtoagreatnumberofpeople.Forexample,whathappenedtothehardwiredandelectromechanicaldevicesthatmaintenancepersonnelwereusedtorepairingwithhandtools?
Theywerereplacedwith‘computers’disguisedaselectronicsdesignedtoreplace
relays.Eventheprogrammingtoolsweredesignedtoappearasrelayequivalentpresentations.Wehavetheopportunitynowtoexaminethepromise,inretrospect,thattheprogrammablecontrollerbroughttomanufacturing.
AllprogrammablecontrollersconsistofthebasicfunctionalblocksshowninFig.10.1.We’llexamineeachblocktounderstandtherelationshiptothecontrolsystem.Firstwelookatthecenter,asitistheheart(oratleastthebrain)ofthesystem.Itconsistsofamicroprocessor,logicmemoryforthestorageoftheactualcontrollogic,storageorvariablememoryforusewithdatathatwillordinarilychangeasafunctionpowerfortheprocessorandmemory.NextcomestheI/Oblock.ThisfunctiontakesthecontrollevelsignalsfortheCPUandconvertsthemtovoltageandcurrentlevelssuitableforconnectionwithfactorygradesensorsandactuators.TheI/Otypecanrangefromdigital(discreteoron/off),analog(continuouslyvariable),oravarietyofspecialpurpose‘smart’I/Owhicharededicatedtoacertainapplicationtask.Theprogrammerisshownhere,butitisnormallyusedonlytoinitiallyconfigureandprogramasystemandisnotrequiredforthesystemtooperate.Itisalsousedintroubleshootingasystem,andcanprovetobeavaluabletoolinpinpointingtheexactcauseofaproblem.ThefielddevicesshownhererepresentthevarioussensorsandactuatorsconnectedtotheI/O.Thesearethearms,legs,eyes,andearsofthesystem,includingpushbuttons,limitswitches,proximityswitches,photosensors,thermocouples,RTDS,positionsensingdevices,andbarcodereaderasinput;andpilotlights,displaydevices,motorstarters,DCandACdrives,solenoids,andprintersasoutputs.Nosingleattemptcouldcoveritsrapidlychangingscope,butthreebasiccharacteristicscanbeexaminedtogiveclassifyanindustrialcontroldeviceasaprogrammablecontroller.
(1)Itsbasicinternaloperationistosolvelogicfromthebeginningofmemorytosomespecifiedpoint,suchasendofmemoryorendofprogram.Oncetheendisreached,theoperationbeginsagainatthebeginningofmemory.Thisscanningprocesscontinuesfromthetimepowerissuppliedtothetimeititremoved.
(2)Theprogramminglogicisaformofarelayladderdiagram.Normallyopen,normallyclosedcontacts,andrelaycoilsareusedwithinaformatutilizingaleftandarightverticalrail.Powerflow(symbolicpositiveelectronflow)isusedtodeterminewhichcoiloroutputsareenergizedordeenergized.
(3)Themachineisdesignedfortheindustrialenvironmentfromitsbasicconcept;thisprotectionisnotaddedatalaterdate.TheindustrialenvironmentincludesunreliableACpower,hightemperatures(0to60degreeCelsius),extremesofhumidity,vibrations,RFnoise,andothersimilarparameters.Generalapplicationareas
Theprogrammablecontrollerisusedinawidevarietyofcontrolapplicationstoday,manyofwhichwerenoteconomicallypossiblejustafewyearsago.Thisistruefortwogeneralreasons:
1therecosteffectiveness(thatis,thecost
perI/Opoint)hasimproveddramaticallywiththefallingpricesofmicroprocessorsandrelatedcomponents,and2theabilityofthecontrollertosolvecomplexcomputationandcommunicationtaskshasmadeitpossibletouseitwhereadedicatedcomputerwaspreviouslyused.
Applicationsforprogrammablecontrollerscanbecategorizedinanumberofdifferentways,includinggeneralandindustrialapplicationcategories.Butitisimportanttounderstandtheframeworkinwhichcontrollersarepresentlyunderstoodandusedsothatthefullscopeofpresentandfutureevolutioncanbeexamined.Itisthroughthepowerofapplicationsthatcontrollerscanbeseenintheirfulllight.Industrialapplicationsincludemanyinbothdiscretemanufacturingandprocessindustries.Automotiveindustryapplications,thegenesisoftheprogrammablecontroller,continuetoprovidethelargestbaseofopportunity.Otherindustries,suchasfoodprocessingandutilities,providecurrentdevelopmentopportunities.
Therearefivegeneralapplicationareasinwhichprogrammablecontrollersareused.Atypicalinstallationwilluseoneormoreoftheseintegratedtothecontrolsystemproblem.Thefivegeneralareasareexplainedbrieflybelow.
Description
TheAT89C51isalow-power,high-performanceCMOS8-bitmicrocomputerwith4KbytesofFlashprogrammableanderasablereadonlymemory(PEROM).ThedeviceismanufacturedusingAtmel’shigh-densitynonvolatile
memorytechnologyandiscompatiblewiththeindustry-standardMCS-51instructionsetandpinout.Theon-chipFlashallowstheprogrammemorytobereprogrammedin-systemorbyaconventionalnonvolatilememory
programmer.Bycombiningaversatile8-bitCPUwithFlashonamonolithicchip,theAtmelAT89C51isapowerfulmicrocomputerwhichprovidesahighly-flexibleandcost-effectivesolutiontomanyembeddedcontrolapplications.
Functioncharacteristic
TheAT89C51providesthefollowingstandardfeatures:
4KbytesofFlash,128bytesofRAM,32I/Olines,two16-bittimer/counters,afivevectortwo-levelinterruptarchitecture,afullduplexserialport,on-chiposcillatorandclockcircuitry.Inaddition,theAT89C51isdesignedwithstaticlogicforoperationdowntozerofrequencyandsupportstwosoftwareselectablepowersavingmodes.TheIdleModestopstheCPUwhileallowingtheRAM,timer/counters,serialportandinterruptsystemtocontinuefunctioning.ThePower-downModesavestheRAMcontentsbutfreezestheoscillatordisablingallotherchipfunctionsuntilthenexthardwarereset.
PinDescription
VCC:
Supplyvoltage.
GND:
Ground.
Port0:
Port0isan8-bitopen-drainbi-directionalI/Oport.Asanoutputport,eachpincansinkeightTTLinputs.When1sarewrittentoport0pins,thepinscanbeusedashighimpedanceinputs.Port0mayalsobeconfiguredtobethemultiplexedloworderaddress/databusduringaccessestoexternalprogramanddatamemory.InthismodeP0hasinternalpullups.Port0alsoreceivesthecodebytesduringFlashprogramming,andoutputsthecodebytesduringprogramverification.Externalpullupsarerequiredduringprogramverification.
Port1
Port1isan8-bitbi-directionalI/Oportwithinternalpullups.ThePort1outputbufferscansink/sourcefourTTLinputs.When1sarewrittentoPort1pinstheyarepulledhighbytheinternalpullupsandcanbeusedasinputs.Asinputs,Port1pinsthatareexternallybeingpulledlowwillsourcecurrent(IIL)becauseoftheinternalpullups.Port1alsoreceivesthelow-orderaddressbytesduringFlashprogrammingandverification.
Port2
Port2is
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 单片机 英文 文献