单片机英文文献.docx

上传人:b****5 文档编号:7405307 上传时间:2023-01-23 格式:DOCX 页数:6 大小:19.58KB
下载 相关 举报
单片机英文文献.docx_第1页
第1页 / 共6页
单片机英文文献.docx_第2页
第2页 / 共6页
单片机英文文献.docx_第3页
第3页 / 共6页
单片机英文文献.docx_第4页
第4页 / 共6页
单片机英文文献.docx_第5页
第5页 / 共6页
点击查看更多>>
下载资源
资源描述

单片机英文文献.docx

《单片机英文文献.docx》由会员分享,可在线阅读,更多相关《单片机英文文献.docx(6页珍藏版)》请在冰豆网上搜索。

单片机英文文献.docx

单片机英文文献

单片机英文文献

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

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

当前位置:首页 > 工作范文 > 演讲主持

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

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