没有合适的资源?快使用搜索试试~ 我知道了~
毕业设计(论文)-基于80C51的单片机交通灯控制系统的设计.doc
0 下载量 173 浏览量
2023-06-28
02:10:11
上传
评论
收藏 1.33MB DOC 举报
温馨提示
试读
50页
毕业设计(论文)-基于80C51的单片机交通灯控制系统的设计.doc
资源推荐
资源详情
资源评论
2015 届毕业设计说明书
基于 80C51 的单片机交通灯控制系统的设计
学 院: 电气与信息工程学院
学生姓名:
指导教师: 职称 讲师
专 业: 电气工程及其自动化
班 级: 电气本 1103
完成时间: 2015 年 6 月
摘 要
最近几十年来,我们国家基础建设的发展日益加快,城市化的进程也越来越迅速,便利
和通畅的道路交通渐渐成为了我国社会主义建设的重要环节。由于车辆的快速增长,特别是
我国交通建设主要道路口的管理与控制的好坏,对交通的安全有着深远而重要的影响。
当前,十字路口都采用了信号灯来控制车辆和行人的通行,不仅便于维护管理,而且
非常智能化。数字化信号灯电路,不仅低功耗,而且多种多样,并且方便了人们的生活。人与
车,路这三个方面的和谐统一是我们一直追求的主题,三者的协调多样发展,对促进社会
经济价值与人文的发展有重大意义。伴随着城市的交通与人们越来越息息相关,交通信号
灯可以有效率地调控交通车流量,提高和改善车辆通过的效率,能够减少和预防一系列交通
事故的发生。道路十字路口的车辆来回不息,良好的秩序和调控是保证车与人安全的最主
要因素,有序的交通,是城市道路通畅的重要保障。
在本次设计里面,我选择了 AT89C52 单片机作为控制核心,并辅以电源电路,复位
电路,按键电路,人体传感器,数码管显示,led 灯显示,蜂鸣报警器,晶振电路和控制电
路等来实现交通灯系统的功能。
交通灯进行工作时,可以根据通过车流量的不同对交通灯设置南北东西红绿灯的时间,
当最后进入五秒倒计时,黄灯会不停闪烁提示行人与车辆注意交通灯的变化。另外,还可
以利用人体红外感应原理对道路交通进行违规检测,并进行报警。一旦有紧急情况需要让
行时,东西南北所有路灯变为红灯,此时车辆禁止通行,为紧急车辆让道。当需要禁停的
时候,所有路口为绿灯模式,此时禁止车辆滞留停车。夜晚由于特殊性,东西南北路口皆
为黄灯,此时车辆根据所处情况正确判断谨慎通行。本次交通灯系统的设计兼备操作简易,
扩展功能强大两方面。具有很可观的实用性。
关键词: AT89S52 单片机;交通灯;违规检测
Abstract
In recent decades, growth and maturity of China's infrastructure, with the rapid
development of urbanization, convenient and smooth road traffic is becoming an important part
of our socialist construction. Because the vehicle's explosive growth, especially the key
management and control of traffic construction in our country, it has a profound and important
influence the traffic safety.
Now, use signal control lamp and the emergence of the underground safety, maintenance
and management of traffic, not only convenient and automatic. Digital signal circuit, not only
low power consumption, but also a variety of, convenient people's life. People, cars, roads, the
three aspects of the unity of our more thinking and solving, three coordinate all aspects of
development, and promote social and economic value and the development of human beings.
Because the city traffic problems, people more and more, traffic lights have mediation of vehicle
traffic flow control efficiency, improve and enhance the efficiency of the vehicle, can reduce and
prevent a series of traffic problems. Crossroads vehicle endless back and forth, many pedestrians,
good order and arrangement is the first element to ensure safety of roads and sidewalks. To do
this for the sake of what? For this traffic light system in the urban road traffic.
In this design, I chose the AT89C52 single chip microcomputer as control core, and the auxiliary
power circuit, reset circuit, key circuit, the human body sensor, the digital tube display, LED
lights, according to the buzzer alarm, crystal oscillator circuit and control circuit to achieve
traffic light system can be realized.
Through transport and other work, can according to different traffic lights north, south, east
and west of the traffic lights, when the last into the 5 second countdown, yellow lamp has been
flashing alert pedestrians and vehicles to the change of the traffic lights. In addition, we can use
the principle of infrared sensor to detect road traffic violations, and the police. Once have urgent
need for methods, the north and south, east and west all street lamps variables is red, then a ban
on vehicle traffic, emergency vehicles out of the way. Need to stop, all the connection mode of
green, vehicle parking is prohibited. Because of the particularity of the evening, the four corners
of the world turning yellow light, vehicle according to the situation carefully. The design of
traffic light system is simple and easy to operate, and expansion of the two aspects of the strong.
There is a considerable practice.
Key word AT89S52; Traffic lights; In violation of the detection
目 录
1 绪 论 ....................................................................1
1.1 交通灯的历史和意义 ...................................................1
1.2 当代的交通灯的控制及其发展现状 .......................................1
1.3 单片机概述 ...........................................................2
1.4 单片机的选择 .........................................................2
1.5 方案的设计与论证 .....................................................3
1.5.1 电源提供方案 ...................................................4
1.5.2 显示界面方案 ...................................................4
1.5.3 输入方案 .......................................................4
1.5.4 违规检测方案 ...................................................5
2 系统硬件设计 .............................................................6
2.1 总体设计 .............................................................6
2.2 单片机的基本结构 .....................................................6
2.3 单片机外围电路设计 ...................................................7
2.3.1 复位电路设计 ..................................................7
2.3.2 外部晶振时钟电路设计 ...........................................8
2.3.3 灯控制电路设计 ................................................8
2.3.4 倒计时显示电路设计 ............................................9
2.3.5 违规检测报警模块设计 .........................................10
2.4 元器件清单 .........................................................10
3 交通信号灯软件系统的设计 ...............................................12
3.1 十字路口交通信号灯具体的控制要求 ...................................12
3.2 十字路口交通信号灯示意图 ...........................................12
3.3 交通灯设计流程框图 .................................................13
3.4 交通灯定时器设计 ...................................................14
4 设计结论与体会及仿真 ...................................................15
4.1 设计要求及需要达到的指标 ...........................................15
4.2 仿真软件介绍 ........................................................15
4.3 程序仿真图 .........................................................15
4.4 设计体会与不足 ...................................................21
结束语 .....................................................................22
参考文献 ...................................................................23
致谢 .......................................................................25
附录 A ......................................................................26
附录 B ......................................................................27
附录 E 交通灯程序清单 ......................................................28
剩余49页未读,继续阅读
资源评论
matlab大师
- 粉丝: 2496
- 资源: 8万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功