摘要本文根据AT89C51单片机的特点和交通灯在实际控制中的特点,设计了一种用单片机自动控制交通信号灯以及时间显示系统,同时给出了软硬件设计成果。设计的过程包括硬件电路设计和程序设计两大步骤,本系统采用单片机作为核心控制器,通过磁感线圈检测系统来测量东西方向和南北方向的车流量大小,经过简单的算法得出红绿灯时间。然后分别用红、黄、绿灯的不同组合来指挥两个方向的通车、禁行、左转、右转,用LED数码管作为倒计时信号灯,实时地控制当前信号灯时间使LED显示器进行倒计时工作并与信号灯保持同步,在保证交通安全的同时最大限度地提高交通运行效率,从而实现十字路口的智能交通控制。61717
毕业论文关键词 交通控制 信号机 单片机 LED数码管
毕业设计说明书(论文)外文摘要
Title Design of Multi-modal Transport Control Machine
Abstract Based on AT89C51 microcontroller features and traffic lights in the actual control characteristics of the design of a single-chip automatic control traffic lights and the time display system, and gives the hardware and software design results. Design process, including hardware circuit design and program design two steps, the system uses microcontroller as the core controller, via magnetic induction coil detection system to measure the north-south direction east-west direction and the size of traffic, through a simple algorithm to calculate the traffic light time. Then were red, yellow, green light to direct different combinations of the two directions of traffic, cut the line, turn left, turn right, with LED digital tube as the countdown lights, real-time control of the LED lights display the current countdown to work with lights to keep pace, while ensuring traffic safety while maximizing the efficiency of traffic operations in order to achieve the crossroads of intelligent traffic control.
Key Words: intelligent traffic control Traffic Signal Machine microcontroller LED digital
1 绪论 1
1.1 课题研究背景 1
1.2 国外交通控制系统及优缺点 1
1.3 论文研究内容及结构安排 3
2 交通信号控制系统 5
2.1 交通信号控制方式 5
2.2 评价指标 6
2.3 本章小结 8
3 信号控制机硬件设计 9
3.1 系统的组成 9
3.2 主板电路 10
3.3 车辆检测输入板电路 13
3.4 交通信号输出板电路 15
3.5 输入及显示板电路 18
3.6 本章小结 20
4 信号控制机软件设计 21
4.1 系统软件设计方法 21
4.2 系统各模块流程图 21
4.3 延时子程序 22
4.4 数码管显示子程序 24
4.5 黄灯闪烁子程序