成人教育毕业论文(设 计)
中文题目: 基于单片机控制的十字路口信号交通灯设计
英文题目: Design of Crossing Road Traffic Signal Light Based on Single-chip Microcomputer
姓 名
学 号
专业班级
指导教师
提交日期
教务处制
基于单片机控制的十字路口信号交通灯设计
姓名: 班级:07级电子信息工程1班
指导老师: 职称:讲师
(电子科学系,,516007)
摘 要
作为自动的交通指示工具,信号交通灯能够指挥十字路口交通有条不紊的进行,是疏导交通车辆最常见和最有效的手段。传统的交通灯控制系统已经表现出明显的缺点“红绿灯时间相对固定,不能随车流量的改变而调整红绿灯的显示时间”,本设计提出了一种简易的智能交通灯控制方案:以单片机为主控制器,光敏二极管自动检测车流量和违规车辆。
本文提出的十字路口信号交通灯控制系统采用以单片机AT89C51为中心来实现交通灯的控制,用光敏二极管自动检测绿灯时的通行车流量和红灯时的违规车辆,车流量检测的信息反馈到主控制器中实时调节车辆通行时间,有效地疏导交通;违规车辆检测的信息反馈到主控制器中启动自动报警,减少交通事故。
关键词
信号交通灯 光敏二极管 单片机 车流量检测 违规车辆检测
Design of Crossing Road Traffic Signal Light Based
on Single-chip Microcomputer
Name:Cai Wenfeng
Specialized class and grade:Electronic and Information Engineering
Instructs teacher::Ling Jialiang Title:Lecturer
(HuiZhou University,Electronic science department,HuiZhou,GuangDong,516007)
Abstract
As an automatic traffic directions tool, Traffic signal light can direct the traffic of crossing road, is a common and affective way to maintain smooth traffic and reduce road congestion. Obviously, the traditional traffic signals control system have the disadvantage of that the change time of the signal light cannot be adjusted
automatically according to the size of the opening time traffic flow shortcomings. This paper presents an simple intelligent traffic light control system program which is based on single-chip microcomputer, and used photosensitive diode to detect the traffic flow and test the offending vehicle automatically.
In this thesis, the crossing road traffic light control system adopted the main
controller of STC89C52 microcontroller to control the traffic light and
photosensitive diode to detect the traffic flow when the traffic light is green and test the offending vehicle when the traffic light is red automatically. The information of the traffic flow fed back main controller so that it can adjust the access time
real-timely and smooth traffic affectively. At the same time, if there is any vehicle offend the traffic rule, main controller will turn on the speaker automatically which can reduce the traffic accidents.
Key words
Signal traffic lights Photosensitive diode Single chip Processor Traffic detection The offending vehicle testing
目录
1 绪论............................................................................................................. 错误!未定义书签。
1.1 单片机控制信号交通灯课题的研究意义 ...................................... 错误!未定义书签。
1.2 交通信号灯历史发展过程及相关规定 .......................................... 错误!未定义书签。
1.3 信号灯控制系统的发展现状和趋势 .............................................. 错误!未定义书签。 2 系统控制器及外围数字电路IC芯片简介 ............................................... 错误!未定义书签。
2.1单片机STC89C52简介 ................................................................... 错误!未定义书签。
2.2八段数码显示器简介 ...................................................................... 错误!未定义书签。
2.3 锁存器74LS373简介 ..................................................................... 错误!未定义书签。
2.4 3线-8线译码器74LS138简介 ....................................................... 错误!未定义书签。
2.5 6反相器74LS04简介 ..................................................................... 错误!未定义书签。
2.6 三输入与非门74LS10简介 ........................................................... 错误!未定义书签。 3 系统硬件设计 ............................................................................................. 错误!未定义书签。
3.1 交通控制管理方案论证 .................................................................. 错误!未定义书签。
3.2 硬件电路整体框图及其工作原理 .................................................. 错误!未定义书签。
3.2.1 硬件电路整体框图 ............................................................... 错误!未定义书签。
3.2.1 系统工作原理 ....................................................................... 错误!未定义书签。
3.3 硬件电路设计 .................................................................................. 错误!未定义书签。
3.3.1 单片机时钟电路 ................................................................... 错误!未定义书签。
3.3.2 单片机复位电路 ................................................................... 错误!未定义书签。
3.3.3 时间显示电路 ....................................................................... 错误!未定义书签。
3.3.4 人行道交通灯控制电路 ....................................................... 错误!未定义书签。
3.3.5 机动车道交通灯控制电路 ................................................... 错误!未定义书签。
3.3.6 检测电路 ............................................................................... 错误!未定义书签。
4.系统软件设计 ........................................................................................... 错误!未定义书签。
4.1 主程序流程图 .................................................................................. 错误!未定义书签。
4.2 各功能模块程序设计 ...................................................................... 错误!未定义书签。
4.2.1 每秒钟程序设计 ................................................................... 错误!未定义书签。
4.2.2 时间显示程序设计 ............................................................... 错误!未定义书签。
4.2.3 车流量、违规车辆监测程序设计 ....................................... 错误!未定义书签。
5.系统调试分析 .............................................................................................. 错误!未定义书签。
5.1 硬件调试 .......................................................................................... 错误!未定义书签。
5.2 软件调试 .......................................................................................... 错误!未定义书签。
5.3 分析 .................................................................................................. 错误!未定义书签。 6 总结与展望 ................................................................................................. 错误!未定义书签。 致谢................................................................................................................. 错误!未定义书签。 参考文献 ......................................................................................................... 错误!未定义书签。 附录一:程序清单 ......................................................................................... 错误!未定义书签。 附录二:电路图 ............................................................................................. 错误!未定义书签。
1 绪论
1.1 研究意义
2
第二篇:毕业设计总结格式
毕业设计总结 (初号字居中) 毕业设计题目 (一号字居中) (系) 信息工程与艺术设计系 专 业 学生姓名 学生学号指导教师 提交时间 院
山东劳动职业技术学院信息工程与艺术设计系毕业设计总结
摘 要
(标题黑体,三号字,居中)
只需写中文摘要,摘要占一页,宋体,小四号字,首行缩进2个字符,1.5倍行距;
目录自动生成;
摘 要 ............................................................................................................................... 2
第一章 标 题 ............................................................................................................... 2
正文:标题黑体,三号字,居中。段前1行,段后0.5行,1.5倍行距。 一级标题宋体,加粗,四号字,段前0.5行,段后0.5行,1.5倍行距。
正文内容宋体,小四号字,首行缩进2个字符,1.5倍行距 图片居中,图片下标五号字,居中
注意:页眉页脚
第一章 标 题
1.1一级标题
1.
(1)
1)
图片下标
第 2 页 共 2 页