单片机英文文献

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

M.Zhu(Ed.):ICCIC2011,PartVI,CCIS236,pp.232–238,2011.©Springer-VerlagBerlinHeidelberg2011IntelligentTrafficControlSystemDesignBasedonSingleChipMicrocomputerXuLei,YeSheng,LuGuilin,andZhangZhenSchoolofMechanicsandCivilEngineering,ChinaUniversityofMiningandTechnology,Xuzhou(221008),Jiangsu,Chinaxukeixulei@sina.comAbstract.Thispapermainlyintroducesmicrocontrollerofcountertoimplementanintelligenttrafficcontrolsystem.Thesystemusesanexternaltriggeredpulsestosimulate,throughtraffictotiming/countercarcollection,soastorealizetheflowoftrafficinformationdigitization.Meanwhile,accordingtohistoricalstoreddataandautomaticdetectiontocartrafficinformation,microcontrollerwillbecompared,andthecontrolmodelalgorithmcontrolschemebysettingpropersignalratio,realizingtheintelligentcontroltrafficsignals.Keywords:microcontroller,intelligentcontrolsystem,timing⁄counters.1IntroductionUrbantrafficcontrolsystemismainlyusedincitytrafficdatamonitoring,trafficlightcontrolandtrafficpersuationcomputerintegratedmanagementsystem,ithasbecomethemostimportantpartofthemodernurbantrafficcontrolcommandsystem.Therefore,eachintersectioninstallationtrafficlightshasbecomethemostrelievestrafficvehiclesandpedestriansmostcommonandmosteffectivemanagementmeans,andhowtouseadvancedinformationtechnologytransformurbantrafficsystemhasbecometheconsensusofurbantrafficmanagement.2SystemCompisitionThetrafficlightcontrolsystemisusedtoreceive,processingintersectiontrafficdatasystem,andaccordingtothetrafficflowconditionstobeintelligenttoadjustthetrafficlightslightdestroytimelength.Thepurposeofthedesignofthecontrolsystemhastwomainfunction:Firstly,finishingcrossingtheeast-westandsouth-northtwodirectionsoftrafficflowdetectionbasedonexperimentaldata,soastoprovidedatamodelingmethod;Secondly,byusingthecontrolsystemforintelligentcontroloftrafficlights.Consideringtheactualfeasibility,thissystemusesLEDtoreplacetheactualtrafficlights,andthetrafficflowwithexternalinputdataissimulatedthepulses.Fromthefunctioncanbemainlythewholecontrolsystempointsoftrafficflowcontrolmodule,inspectionmoduleandtrafficlightcontrolmodule.Thetrafficlightscontrolsystemofgeneralfunctionstructureisasshowninfigure1.IntelligentTrafficControlSystemDesignBasedonSingleChipMicrocomputer233Ascanbeseenfromthefigure,andconventionaltrafficcontrolsystem,thissystemmainlycomparedwiththefollowingfeatures:•Controlmodulebyasinglechipmicro-controller,everyfunctionmodulesinICchipsarebasedondevelopment,eachmoduleandICchipsfrombuswaybetweenconnectednearly;•Controlsystem,signalanddataflowisone-sided.Countersystemprovidestrafficdata,aftermicrocontrolleroperationaltreatment,becomethetrafficlightscontrolinstructions,theoutputtolightcontrolsystem;•Microcontrollercanbetimelytovarioussignalprocessed;•Betweeneachdevicewithbuswaysharedata,systemstructurecompact,datasecuritygood;•Itcanbeusedasmoreintelligentcontrolsystemhardwarefoundation.Fig.1.Compositionofregulationsystem3SystemDesignThissystemhardwarecomponentsselectionismainlymadebyATMELcompanyintheUnitedStates,theIntelcompanyAT89S52SCM8255programmablegeneralparallelinterfaceandprogrammabletiming/counter8253.AT89S52SCMislowpower,high-performanceCMOS8-bitmicrocontroller.SlicetheFlashmemorywith8KBwithin,allowingwithinthesystemwithprogrammerprogrammingrewritetheor.AT89S52instructionsystemand80C52fullycompatiblewithpins,256BRAMpieces(andtheI/O,32mouthline,316timing/counters,thewatchdog,sixinterruptsource,afull-duplexserialport,etc,andcanmeetthepracticalneedsofthesystem.3.1CounterAdoptingsingleexternalcountchips,suchas82C53,82C54asspecialcountertoexternalinputpulsesignalascountchips,torealizethecountofexternalpulsepulsedigital.ThusmakingroadtrafficflowintoSCM,itcanidentifythepulsecountforthesingle-chipcomputercompletescontrolproceduresandtheoutputofthecontrolordertoprovidebasicdata.234X.Leietal.Usingexternalcounterconcreteprocessofrealizingcountasfollows:Usingexternalcrystalsproduceacertainfrequencycountscircuitimpulse;Makethisfrequencyasthecountofthecounttomeasuringpulsesignal,asanexternalcountercountpulse,externalchipindoorcontrolcyclecounttocountpulse;Incountends,externalchipoutputproduceslowlevelwouldtriggerMCUdisruptions,thespecialchipmicrocontrollerwillreadbackthecountvalue,andcontrolalgorithmofcomputing.Countingpulsefrequencyrelyonexternalcrystalfrequency,althoughexternalcrystalshasthehigherfrequencyofthemorehelptoimprovetheaccuracyofpulsecount,buteventuallyinputtoexternalcounterpulsefrequencyhadbetternotexceed10MHz.Usingsinglechipexternalcountertorealizepulsecountmethodhastwomaininsidelet:thefirstisthehardwarecircuitdesign,includingthemicrocontrollereachportconnection,theinterruptsignaldesignetc;Onceagain,isMCUcountprogram,mainlyresponsibleforcontroleachinterruptandthetimercompletecorrespondingpulsecountprocess.3.2TrafficSignalControlModuleThetrafficlightscontrolmoduledrivestrafficlightsandkillsbrightbyreceivingtotrafficlightcontrollermicrocontrollerissuedinstructionsaccordingtotherequirementofthemodule,microcomputerintheflowoftrafficinformationobtainedthroughcontrolalgorithm,after

1 / 7
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功