《毕业设计(论文)-自适应交通灯控制器的设计》由会员分享,可在线阅读,更多相关《毕业设计(论文)-自适应交通灯控制器的设计(46页珍藏版)》请在金锄头文库上搜索。
1、宁夏理工学院毕业设计I摘要随着现代社会对交通运输的日趋依赖,交通灯成为了人们生活中不可或缺的一部分。传统的交通灯控制器虽然在一定程度上可以满足指挥路口交通的需要,但随着城市规模的不断扩大,原有的交通灯控制器已经表现出明显的缺点:红绿灯时间相对固定,不能伴随车流量的改变而调整红绿灯的显示时间。本设计以十字路口交通灯的控制为研究对象,以交通工程基本理论为基础,结合当前的单片机应用技术,对智能交通灯控制系统进行了分析和研究。文章论述了基于 AT89C51 单片机的交通灯控制器的设计,该控制器根据车流量的情况可以自适应的改变车辆的通行时间,以提高交通的利用率,通过 LED数码管来显示交通灯的闪亮时间。
2、关键词:车流量;交通灯控制器;智能控制;LED 显示宁夏理工学院毕业设计IIAbstractWith increasing reliance on transportation in modern society,Traffic lights have become an important part in pepoles daily lives. To some extent, traditional traffic control machine can meet the needs of the traffic junction, however, with the continuous
3、 expansion of city scale, the traditional traffic lights control machine have showed obvious shortcomings: a relatively fixed display time of traffic lights, which can not change as the different traffic flow at the crossing. In this thesis, according to basic traffic engineering theory, combined wi
4、th current technology and application of microcotroller, which does detai analysis and research on intelligent traffic lights control machine. This article discusses traffic lights control machine based on AT89C51 microcontroller, which can chang self-adaptively the corresponding time to permit a ve
5、hicle and a care to pass through for raising the use efficiency of the transportation path according to the condition of the traffic flow.Which is driven LEDfigueres a tube to show traffic lights bright time.Key words:Traffic flow; Traffic lights; Intelligent control; LEDshow宁夏理工学院毕业设计III目录摘要 .IAbst
6、ract .II目录 .III前 言 .- 1 -第一章 现实交通与改善概述 .- 2 -1.1 基于单片机交通灯控制器的选题背景 .- 2 -1.2 选题的现实意义 .- 2 -1.3 交通的解决方法 .- 3 -第二章 交通灯控制器的设计元件 .- 4 -2.1 单片机的发展 .- 4 -2.2 AT89C51 单片机简介 .- 4 -2.3 光电开关 .- 7 -2.3.1 光电开关的工作原理 .- 7 -.2.3.2 光电开关的分类 .- 7 -2.3.3 光电开关的应用 .- 8 -2.4 ULN2003 概述 .- 8 -2.4.1 ULN20003 的内部结构 .- 9 -2.4
7、.2 七段数码管 .- 9 -2.5 电源电路设计 .- 10 -2.5.1 三端稳压器简介 .- 10 -2.5.2 电源电路图 .- 11 -第三章 交通灯控制器的设计 .- 12 -3.1 控制器的设计原理及框图 .- 12 -3.2 控制器的设计方案 .- 13 -3.2.1 设计要求 .- 13 -3.2.2 车流量信号提取单元电路设计 .- 14 -3.3.工作原理 .- 15 -3.4 控制器的组成 .- 15 -宁夏理工学院毕业设计IV3.4.1 锁存器模块 .- 16 -3.4.2 置数模块、计数模块、译码模块 .- 17 -3.4.3 控制器模块 .- 17 -第四章 程序
8、设计 .- 19 -4.1 软件设计流程图 .- 19 -4.2 软件可靠性设计 .- 19 -4.3 主程序流程图 .- 21 -4.4 中断流程图 .- 22 -4.5 汇编程序设计 .- 23 -第五章 仿真与调试 .- 27 -5.1 Proteus 仿真软件简介 .- 27 -5.2 程序仿真 .- 27 -5.3 调试安装 .- 28 -第六章 PCB 制作 .- 29 -6.1 PCB 布局规则设置 .- 29 -6.2 PCB 布线规则设置 .- 30 -6.3 元器件的安装与焊接 .- 31 -6.3.1 元器件的安装 .- 31 -6.3.2 元器件的焊接 .- 32 -参考文献 .- 33 -总结 .- 34 -致谢 .