您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 交通运输 > 基于51单片机智能交通灯的控制
I学号**********密级公开******本科毕业论文基于8051单片机的城市智能交通灯控制系统的设计学院名称:&&&&&&&专业名称:*********学生姓名:****指导教师:******二○一一年五月IIBACHELOR'SDEGREETHESISOFLANZHOUCITYUNIVERSITYTheDesignofIntelligentTrafficLightSystemBasedon8051SCMMay2011III郑重声明本人呈交的学位论文,是在导师的指导下,独立进行研究工作所取得的成果,所有数据、图片资料真实可靠。尽我所知,除文中已经注明引用的内容外,本学位论文的研究成果不包含他人享有著作权的内容。对本论文所涉及的研究工作做出贡献的其他个人和集体,均已在文中以明确的方式标明。本学位论文的知识产权归属于培养单位。本人签名:日期:IV摘要随着经济的发展,城市现代化程度不断提高,交通需求和交通量迅速增长,城市交通网络中交通拥挤日益严重。因此,一个好的交通灯控制系统,将给道路拥挤等方面给予技术革新。8051单片机的交通灯控制系统由8051单片机、交通灯显示、LED倒计时、紧急处理(中断)等模块组成。本设计除了基本交通灯功能外,还具有倒计时显示、紧急情况处理等相关功能。理论证明该系统能够简单、经济、有效地疏导交通,提高交通路口的通行能力。本设计根据单片机具有功能强、实用方便灵活、可靠性高的特点,提出了用8051单片机自动控制交通信号灯灯及时间显示的方法,同时给出了软硬件的设计及实现方法,在硬件电路中具体设计了时钟电路、复位电路、中断电路信号灯电路设计,在软件电路中具体编写了中断程序和软件延时程序。为交通指挥自动化提供一种新的廉价手段,具有一定的推广意义。关键词:交通控制;单片机;8051;智能VABSTRACTTheagesisanautomationagesnowadaysandtransportationlightcontrol'swaitingalotofequipmentsofprofessionsalliscloselyrelatedwithcalculator.Therefore,agoodtransportationlightcontrolsystem,willhustleforroad,givetechniqueinnovation.The8051microcontrollrecontrolsystemconsistsofthetrafficlightsdisplay,8051monolithicintegratedcircuits,andLEDthecountdown,emergencyadjustment.Inadditiontothebasictrafficfunctionoutside,stillhavetimetomanuallyset,andsoon.theoryshowthatthesystemcansimple,economicandeffectiverelievestraffic,improvethecrossroadscapacity.Accordingtothedesignofchipmircrocotrollrehasstrongfunction,convenientandflexible,hingreliablility.presentedwith8051microcontrollrecontrolfortrafficsignallightsandtimedisplaymethod,atthesametime,givesthehardwareandsoftwaerdesignandimplementationmethod.Inthehardwarecircuitofthespecificdesignofclockcircuit,aninterruptcircuitsignalccirrcuitdesign.Inthesoftwarecircuitspecificwritinginterruptprogramandasoftwareprogram.Trafficcommandautomationprovidesanewmeansofcheap,haspopularizingsignificane.Keywords:TrafficControl;SingleChipMicrocomputer;8051;Intelligence目录第1章绪论..............................................................................................................................11.1课题研究的背景及意义................................................................................................11.2本文主要研究工作.........................................................................................................1第2章道路交通灯控制系统的设计方案.................................................................22.1系统总框架.......................................................................................................................22.2电路的工作原理.............................................................................................................2第3章硬件设计....................................................................................................................43.1系统总框图........................................................................................................................43.2总的硬件电路图设计.....................................................................................................43.2.1时钟电路设计........................................................................................................53.2.2复位电路设计........................................................................................................63.2.3单片机最小系统................................................................................................73.2.4LED数码管显示电路设计.................................................................................73.2.5信号灯设计...........................................................................................................93.2.6中断电路设计......................................................................................................10第4章软件设计.....................................................................................................................124.1软件流程图..................................................................................................................124.2部分函数介绍................................................................................................................124.2.1每秒钟的设定..................................................................................................124.2.2计数器初值计算..............................................................................................124.3软件延时.......................................................................................................................134.4中断响应程序设计.......................................................................................................144.4程序流程图............................................................................................................154.5中断程序.........................................................................................................................164.6源程序...........................................................................................................................17结论............................................................................................................................................21参考文献...................................
本文标题:基于51单片机智能交通灯的控制
链接地址:https://www.777doc.com/doc-6433134 .html