郑州航空工业管理学院
毕 业 论 文(设 计)
2012 届 电子信息工程 专业 ****** 班级
题 目 智能交通灯控制系统——软件部分
姓 名 ***** 学号 ***********
指导教师 ***** 职称 教授
二〇一 二 年 五 月 二十一 日
内容摘要
交通灯在现代社会交通管理的作用毋庸置疑,但某些所需的功能仍然不具备,本文设计的交通灯不但实现了基本的倒计数功能,还创新的添加了流量控制、可调节时间、紧急情况处理和随时东西、南北通行切换的功能,并对车流量检测和判断做出了多个方案对比,最终确定使用闯红灯警戒线作为车流量检测的方法。
设计以STC89C52单片机为核心,外接外围电路构成基本电路,编写C语言程序,用keil编译调试,在PROTEUS软件中仿真,用来实现了交通微控制器的模拟。
智能交通灯控制系统通常要实现车流量自动控制和在紧急情况下能够手动切换信号灯让特殊车辆优先通行。该文主要论述了智能交通灯控制系统的软件实现,还对STC89C52单片机的结构特点和重要引脚功能进行了介绍,同时对智能交通灯控制系统的设计进行了分析。最后利用PROTEUS软件对交通灯控制系统进行仿真。
关键词
单片机;STC89C52;车流量;智能交通灯
Intelligent Traffic Light Control System
—The software section
**********************************
Abstract
The traffic lights in the modern society traffic management role, but
some no doubt the functionality needed to still do not have, this paper
introduces the design of traffic light not only realize the basic pour count
function, still added the function of traffic control, adjustable time,
emergency situation and direction switching , and to finalize the use of red
light running cordon as the methods of traffic detection.we compared a
number of options of the traffic detection and the judgment.
Design with STC89C52 single-chip microcomputer as the core, an
external circuit constitute the basic circuit, periphery type C language
program, Keil compiling and debugging , PROTEUS software simulation,
in basically achieved traffic simulation of micro controller.
Intelligent traffic control system will usually achieve traffic volume
automatic control and in emergency situations can manual switching lights
make special vehicle right-of-way.This paper mainly discusses the
software implementation of the intelligent traffic light control system。
Microcontroller STC89C52 structural characteristics and pin functions are
described and important pins are introduced in the paper, and the function
of the design of the contr