1、 二二 一一 二二年年 六六 月月 本科毕业设计说明书本科毕业设计说明书 题题 目 : 基 于目 : 基 于SPCE061A 交 通 灯 控 制 系交 通 灯 控 制 系 统统 学 生 姓 名学 生 姓 名 : 李 冉: 李 冉 学学 院院 : 电 力 学 院电 力 学 院 系系 别 :别 : 自 动 化 系自 动 化 系 专专 业 :业 : 自 动 化自 动 化 班班 级 :级 : 指 导 教 师指 导 教 师 : II 摘 要 本设计以 SPCE061A 实验开发板为中心, 灵活运用 c 语言程序来控制简易模拟交 通灯的各部分功能的实现,对新郑市人民路与文化路交叉口的交通灯进行模拟,并提
2、出改进方案,充分利用所学知识,将一现实生活中的问题,以工程的形式实现出来, 体现了理论与实践的结合。 作品除具有普通交通信号灯的功能外,还附加了语音提示功能和按键调整功能, 并通过现场调研和实验验证得出最佳配时方案。经测试,该设计符合题目要求,整体 性能良好,各项指标达到预期结果,证明了模拟交通灯系统的正确性与可行性。 整体设计共分为:计时控制模块,按键调整模块,红绿灯和数码管驱动模块,语 音模块 关键词 模拟交通灯/SPCE061A/交叉口/交通控制 III ABSTRACT SPCE061A experimental design to the development board as t
3、he center, c flexibility in the use of simple language simulation procedures to control traffic lights in all parts of the realization of Xinzheng City Peoples Road and culture Road intersection traffic lights to simulate, and to improve the programme, Take full advantage of the knowledge, a real li
4、fe issues to work out in the form of, reflects the combination of theory and practice. In addition to work with the function of the general traffic lights, but also additional functions and voice prompts adjustment function keys, and through on-site research and experimental verification that the be
5、st timing programme. The test, designed to meet the requirements of topics, the overall good performance, the targets to achieve the desired results proved that the simulation of traffic signal system and the correctness of feasibility. Overall design is divided into: time-control module, the key ad
6、justment module, traffic lights and digital control drive module, voice module. KEY WORDS Simulation of traffic lights , SPCE061A , intersections , traffic control IV 目目 录录 摘 要 II ABSTRACT . III 目 录 IV 第一章 绪 论 . 1 1.1 研究背景 1 1.2 交通控制系统国内外发展状况 1 1.4 本文的主要内容 3 第二章 方案设计 4 2.1 题目分析 4 2.2 方案论证 5 2.3 需求分析 7 第三章 相关原理及硬件电路设计 8 3.1 交叉路口及交通信号控制概论 8 3.2 SPCE061A 简易开发板概述 10 3.3 按键模块 . 10 3.4 LED 相关原理 . 11 3.5 数码管简介 . 11 3.6 凌阳音频压缩算法的编码标准 . 11 第四章 系统的设计与实现 . 13 4.1 交通灯规则 . 13 4.2 设计框图 . 1