文档详情

交通信号智控制系统毕业设计.doc

发布:2018-06-13约3.18万字共52页下载文档
文本预览下载声明
本科生毕业论文(设计) 题 目: 交通信号智能控制系 统的研究与设计 学生姓名: 学 号: 专业班级: 通信工程08102班 指导教师: 完成时间: 2012年5月10日 目 录 摘 要 I Abstract II 第1章 绪论 1 1.1研究意义 1 1.2交通灯研究现状 2 1.2.1 国内城市交通现状 2 1.2.2 国际先进成果 2 第2章 总体方案设计 4 2.1 方案的比较与选择 4 2.1.1 方案的比较 4 2.1.2 方案的选择 5 第3章 系统硬件设计 7 3.1 单片机概述 7 3.2 电源电路 12 3.3 检测电路 13 3.3.1 红外传感器的发展 13 3.3.2常用的红外传感器 13 3.3.3 热释电红外传感器简介 15 3.3.4 检测车流量的方法 15 3.4 紧急按键K1电路 16 3.5 红绿灯显示电路 17 3.6 倒计时显示电路 18 3.7振荡电路 20 3.8复位电路 21 第4章 系统软件设计 23 4.1 主程序设计 24 4.2延时子程序 27 4.2.1 计数器硬件延时 27 4.2.2 软件延时 29 4.3 计数器计数 30 4.4 数码管显示子程序 31 4.5 黄灯闪烁子程序 32 4.6 车流量算法子程序 32 4.7 紧急车辆子程序 33 第5章 系统实现 34 5.1 仿真软件简介 34 5.1.1 Proteus软件简介 34 5.1.2 Keil软件简介 36 5.2 仿真实现 38 结 论 41 参考文献 42 致 谢 43 附 录 44 摘 要 本文根据AT89C51单片机的特点及交通灯在实际控制中的特点,提出了一种用单片机自动控制交通灯以及时间显示的方法,同时给出了软硬件设计的方法。设计的过程包括硬件电路设计和程序设计两大步骤,对在单片机应用中可能遇到的重要设计问题都有涉足。本系统采用单片机作为核心控制器,通过红外检测系统来测量东西方向和南北方向的车流量大小,经过简单的算法得出红绿灯时间。然后分别用红、黄、绿灯的不同组合来指挥两个方向的通车与禁行,用LED数码管作为倒计时指示,实时地控制当前交通灯时间使LED显示器进行倒计时工作并与状态灯保持同步,在保持交通安全的同时最大限度地提高交通能顺畅交替运行,从而实现十字路口的智能交通控制。 关键词:单片机;交通灯;红外检测;智能控制 Abstract According to the characteristics of the AT89C51 microcontroller and the characteristics of traffic lights in the actual control,the paper proposes a kind of automatic traffic lights with a single chip and method of time display and gives the hardware and software design methods. The process of design includes the hardware circuit design and programming two steps, and might encounter important problems in the design of SCP application.The system uses the SCM as the core controller and measures the east-west and north-south direction of traffic flow size through the infrared detection system. The time of traffic lights is calculated through a simple algorithm. And command the different combinations of two direction and exclude traffic with red, yellow, and green .Then use the LED digital tube as the countdown instructions ,real-time control the time of the countdown instructionslet ,make LED dis
显示全部
相似文档