智能交通信号灯的设计[摘要]:随着现代社会人们越来越多地喜欢交通运输,私人汽车已经逐渐成为现代人们日常生活中必不可少的组成部分。现有的传统型交通照明控制系统架构和功能已经基本上实现当前现实道路交通的基本诉求,但我国都市在不断发展和扩张,人口及其他建筑等配套密度和复杂度越来越大,传统型交通照明控制系统明显暴露出薄弱和不足之处。此种情况下,依托交通工程原理并以之为基础,与智能交通灯控制系统中涉及到的技术进行对接和结合,对其中存在的不足和问题展开探讨。针对单片机交通自控系统基本组成及其原理,制定硬件组成和程序设计思路。该系统以AT89C51单片机为控制核心,设计硬件电路,使用仿真软件,分析电路结构。画出程序的功能流程图,然后编写程序代码,并在搭建好的硬件平台进行功能测试,根据调试结果进一步完善程序。[关键词]:交通灯,单片机,车流量检测1Designofintelligenttrafficsignallamp[Abstract]:Withmoreandmorepeopleliketransportationinmodernsociety,privatecarshavegraduallybecomeanindispensablepartofmodernPeople'sDailylife.Thestructureandfunctionoftheexistingtraditionaltrafficlightingcontrolsystemhavebasicallyrealizedthebasicdemandsofthecurrentrealityofroadtraffic.However,withthecontinuousdevelopmentandexpansionofcitiesinChina,thesupportingdensityandcomplexityofpopulationandotherbuildingsaregettinglargerandlarger,andthetraditionaltrafficlightingcontrolsystemisobviouslyexposedtoweaknessesanddeficiencies.Inthiscase,relyingontheprincipleoftrafficengineeringandbasedonit,thetechnologyinvolvedintheintelligenttrafficlightcontrolsystemisdockedandcombined,andtheexistingshortcomingsandproblemsarediscussed.Accordingtothebasiccompositionandprincipleofsingle-chiptrafficautomaticcontrolsystem,thehardwarecompositionandprogramdesignthoughtareformulated.ThissystemtakesAT89C51MCUasthecontrolcore,designsthehardwarecircuit,usesthesimulationsoftware,analyzesthecircuitstructure.Drawthefunctionflowchartoftheprogram,andthenwritetheprogramcode,andinthebuilthardwareplatformforfunctionaltesting,accordingtothedebuggingresultstofurtherimprovetheprogram.[Keywords]:trafficlight,Vehicleflowmeasurement23目录1绪言........................................................................11.1研究背景及意义........................................................11.2交通信号灯简介........................................................12.系统控制器及外围数字电路....................................................32.1单片机交通灯控制系统通行方案设计......................................32.2单片机交通控制系统的基本构成及原理....................................43系统设计....................................................................63.1系统硬件总电路构成....................................................63.2AT89C51单片机简介....................................................63.3LED显示器............................................................63.4信号显示驱动电路......................................................83.5键盘输入电路..........................................................93.6车流量检测电路.......................................................103.7蜂鸣器驱动电路.......................................................104系统软件程序的设计.........................................................124.1程序主体设计流程.....................................................124.2子程序模块设计.......................................................125系统调试与结果分析.........................................................14...