1、 毕业设计说明书(论文) The traffic light control system based on single chip 作 者: 学 号: 系 部: 专 业: 通信工程 题 目: 基于单片机控制的交通信号灯 的设计与实现 指导者: 评阅者: 摘要 近年来,随着国民经济的快速发展,车辆的数量也在飞速增长,交通拥挤 和阻塞的现象也频繁的出现。交通阻塞已经成为城市交通所迫切要解决的难 题。所以设计一个合理控制的交通灯系统具有重要意义。 本文介绍了一种基于单片机控制的交通信号灯的控制系统。该系统采用 8051 单片机为控制核心,以七段 LED 数码管作为等待或通行时间显示,LED 作为交
2、通灯红、黄、绿显示。系统采用上电自动复位,时间显示采用倒计时方 式,四组红、黄、绿三色灯用发光二极管作为模拟交通信号灯,可以模拟各种 道路交通灯控制情况。 关键词:LED 数码显示;单片机;交通灯; Abstract In recent years, with the rapid development of the national economy, the number of vehicles is also growing rapidly, traffic congestion and blocking the emergence of the phenomenon frequently
3、. Urban traffic congestion has become a problem to be solved urgently. So the reasonable control of designing a traffic light system is important. This paper describes a microcontroller-based control of traffic lights control system. The system uses 8051 as the control core, seven-segment LED digita
4、l tube as waiting or travel time display, LED traffic lights as red, yellow, green display. System uses the power automatically reset the countdown time display mode using four groups of red, yellow and green lights with light-emitting diodes as a simulation of traffic lights, you can simulate a var
5、iety of road traffic lights control the situation. Key words: LED digital display;SCM;Traffic 目录 第一章 绪论 . 1 1.1 课题研究背景与意义 . 1 1.2 研究现状 1 1.2.1 城市交通的作用 . 1 1.2.2 国内外交通系统发展现状 . 3 1.2.3 我国交通中存在的主要问题 . 3 1.2.4 城市交通解决的主要途径 . 4 1.3 论文研究的主要内容 . 5 1.4 主要章节安排 5 第二章 系统的总体设计 . 6 2.1 具体介绍交通信号系统 . 6 2.1.1 信号控制方式
6、的分类 . 6 2.1.2 交通规则介绍 . 7 2.1.3 交通信号控制硬件设备简介 . 7 2.1.4 交通信号控制系统信息传输系统简介 7 2.1.5 常用交通标志简介 . 8 2.1.6 交通信号控制原理 . 9 2.2 设计方案 . 10 2.3 系统工作原理 . 11 2.4 简单介绍 STC89C52RC 单片机 . 11 2.5 总体设计 . 16 2.5.1 功能概述 16 2.5.2 系统构成 16 第三章 系统硬件设计 18 3.1 交通灯通行模式及行车方向指示 18 3.2 各单元电路模块功能 19 3.2.1 时钟电路模块 19 3.2.2 复位电路模块 20 3.2.3 主控制系统模块 21 3.2.4 交通灯输出控制模块 22 3.2.5 时间显示电路模块 23 3.2.6 系统电源模块电路 23 第四章 系统软件设计 25 4.1 软件总体流程图 . 25 4.2 软件主要