文档详情

毕业设计-城市道口交通灯控制系统模型的设计.doc

发布:2019-08-10约2.08万字共35页下载文档
文本预览下载声明
PAGE PAGE 2 教学单位    学生学号 2031225116 本科毕业论文(设计) 题  目 城市道口交通灯控制系统模型的设计 学生姓名 专业名称 电子信息科学与技术 指导教师       2008年6月10日 城市道口交通灯控制系统模型的设计 摘 要:新型多功能交通灯控制系统越来越多的被用于个大中小城市中,它的研究有效地改善了交通堵塞等现象。利用单片机可编程的特点,设计制作城市道口交通灯控制系统。系统由硬件和软件两个部分组成,设计以单片机AT89C52为核心,提出了系统的硬件实现方案,对各单元电路以及系统的整体硬件部分进行了设计与调试,并结合软件,实现了方向指示、特殊车辆检测、自动控制手动控制转换等功能。系统工作稳定可靠,实用性强。最后介绍了系统的存储单元分配,软件流程图,软件源程序及注释等内容。 关键词:城市道口交通灯控制系统;单片机AT89C52;程序流程图 City Crossing traffic lights Model Control System Design Abstract: The new multi-functional traffic light control system was used in more and more of the universities, cities, its research effectively improve the traffic congestion, and other phenomena. Use of programmable microcontroller features, designing, and manufacturing city Crossing traffic lights control system. System consists of two parts of the hardware and software components, designed to SCM AT89C52 as the core, the proposed system hardware implementation program, the elements of the overall circuit and system hardware part of the design and debugging, and integration software, achieved a directional, suggested that the blind, automatic control manual control conversion, and other functions. Operation of the system is stable and reliable, and practical. Finally, the systems memory cell distribution, software flow chart, software and source notes, and so forth. Key words: Urban Crossing traffic light control system; SCM AT89C52; Flow chart 目 录 0 引言 5 1 系统的功能和基本原理 6 1.1 系统的功能 6 1.2 系统基本原理 6 2 方案设计与论证 7 2.1 总体设计方案与比较 7 3 单元电路的设计与比较 8 3.1 硬件电路设计 8 3.1.1 控制器选型及AT89S52的功能特点 3.1.2 外围电路设计 1 3.1.3 键盘接口电路设计 1 3.1.4 主控制系统 1 3.1.5 通行灯输出控制 1 3.1.6 时间显示模块 3.1.7 特种车辆通行控制模块 18 3.1.8 硬件总电路 20 3.2 软件设计 20 3.2.1 主程序流程图 2 3.2.2 初始化程序 21 3.2.3 定时中断程序 3.2.4 外部中断程序 4 调试 23 4.1.1 初始交通灯控制化程序 23 4.1.2 特种车辆通行时红外线检测电路的调试 24 5 结束语 24 参考文献 25 附录 26 0 引 言 “交通”一词由来已久,从古至今交通问题和人类生活密切相关。所以交通问题也是随着人类进步而不断发展演变着的。现今科技进步,生活水平显著提高,人们对生活环境的要求
显示全部
相似文档