毕业设计论文—单片机控制交通灯的设计.doc
文本预览下载声明
单片机控制交通灯的设计
摘要
交通控制系统是近现代社会随着物流、出行等交通发展产生的一套独特的公共管理系统。要保证高效安全的交通秩序,除了制定一系列的交通规则,还必须通过一定的科技手段加以实现。本文在对目前交通控制进行深入分析的基础上,运用检测传感、实时调整智能化控制的实现技术,将传感器监测、实时调整车辆通行时间的算法与单片机控制作用相结合,提出了基于单片机的交通控制系统设计方案。
8051单片机的交通灯控制系统由8051单片机、交通灯显示、LED倒计时、车流量检测及调整、违规检测、紧急处理、时间模式手动设置等模块组成。系统除基本交通灯功能外,还具有通行时间手动设置、可倒计时显示、急车强行通过、车流量检测及调整、交通异常状况判别及处理等相关功能。理论证明该系统能够简单、经济、有效地疏导交通,提高交通路口的通行能力。
本设计主要做了如下几方面的工作:一是确定系统交通控制的总体设计,包括,十字路口具体的通行禁行方案设计以及系统应拥有的各项功能,二是进行传感器的硬件电路、显示电路等的设计和基本功能要求。
关键词:交通灯 单片机 MSC-51 计时
ABSTRACT
Traffic control system is a modern society with logistics, travel etc of traffic development a unique set of public management system. To ensure the effective safety traffic, except for a series of traffic rules, still must through certain technological means to achieve. Based on analysis of traffic control, based on real-time detection sensor, adjust the implementation technology of intelligent control, real-time monitoring, sensor adjust vehicles time algorithm and single-chip microcomputer control function is proposed, which combines the traffic control system based on single chip design scheme.
This design mainly do the following aspects: one is the work of the traffic control system design, including the crossroads, specific design and system should be restricted with each function, two is that the sensor, the hardware circuit design of the circuit and the basic function and requirement.
Keywords: traffic light SCM MSC-51 timing
目录
摘 要 1
Abstract 2
绪论 5
第一章 交通灯的背景 6
1.1交通灯的背景 6
1.1.1交通灯的历史 6
1.1.3交通控制存在的问题 7
1.1.4交通灯的功能与作用 7
1.1.5用单片机控制交通灯的优点 8
1.2单片机简介 8
1.2.1单片机的概述 8
1.2.2单片机的发展历程 8
1.2.3单片机的内部结构图 9
第二章 单片机控制交通系统总体设计 10
2.1单片机交通控制系统通行方案设计 10
2.2交通控制的工作原理 12
2.3单片机交通控制系统的基本构成及原理 15
第三章 系统硬件的设计 15
3.1系统硬件的总电路构成及原理 15
3.1.1系统硬件电路构成 16
3.1.2系统工作原理 16
3.1.3 AT89S51芯片内部结构简介 17
3.1.4主要引脚功能 19
3.2交通灯软件的设计 20
3.2.1相应程序的代码 21
3.2.3交通控制的程序 23
第四章 实验平台 24
4.1实验平台 24
4.2实验步骤 25
致谢 29
参考文献 30
绪论
今天,红绿灯安装在各个道口上,已经成为疏导交通车辆最常见和最有效的手段
显示全部