毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

STC89C51单片机的智能交通灯控制系统设计+电路图+程序

时间:2021-04-08 21:30来源:毕业论文
以单片机STC89C51为控制芯片,设计单片机的智能交通系统,利用车流量检测电路、违规检测电路、单片机的定时器/计数器以及中断的控制,解决了交通堵塞、紧急车强行以及车辆违反交

摘  要:本文是以单片机STC89C51为控制芯片,设计单片机的智能交通系统,利用车流量检测电路、违规检测电路、单片机的定时器/计数器以及中断的控制,解决了交通堵塞、紧急车强行以及车辆违反交通规则的督促灯问题。硬件部分设计包括最小单片机系统、四个两位数码管、LED指示灯、蜂鸣器、霍尔传感器、普通的法官二极管灯等。软件部分包括延时程序、中断程序以及交通灯的主程序编程。又采用了Keil 和Proteus 电路仿真软件进行整个程序的模拟仿真。经过仿真调试,实现了交通灯智能控制的功能,具有结构简单、可靠性高、成本低、实时性好等优点。65120

关键词:智能交通灯,STC89C51,编程,仿真, 

Abstract: This thesis is based on SCM STC89C51 control chip, single-chip design of intelligent transportation systems, the use of traffic flow detection circuit, a violation detection circuit, microcontroller timer/counter and a control interruption to solve the traffic congestion, emergency vehicles and vehicles in violation of traffic rules by force the urge light problem. The hardware design includes the smallest single-chip system, four two digital control, LED indicator light, buzzer, Hall sensors, LED lamps, and other ordinary judges. Software includes procedural delay, interrupt routines and main programming traffic lights. It has adopted the Keil and Proteus circuit simulation software simulation of the entire program. After the simulation, and delivers intelligent traffic light control functions. It has a simple structure, high reliability, low cost, real good.

Keywords: Single chip microcomputer,STC89C51,Digital tube,Traffic lights

 目 录

1 绪论 3

1.1课题的研究背景与意义 3

1.2 国外智能交通系统现状 4

1.3 国内交通灯的现况 5

1.4 本章小结 5

2 智能单片机交通灯控制系统的设计方案 5

2.1路口交通灯运行状态 5

2.2 单片机智能交通控制系统的控制要求 7

2.2.3 紧急处理 7

2.3基于单片机的智能交通控制系统的构成及原理 8

2.4交通流量信号检测的方法 8

2.4.1车流量检测及调整 8

2.4.2违规检测 10

2.5本章小结 10

3 智能交通灯单片机控制系统硬件设计 10

3.1电路原理图 10

3.3 控制部分的设计 12

3.3.1 STC89C51单片机简介 12

3.5 本章小结 14

4  软件设计 14

4.1 程序主体设计流程 15

4.2 程序设计理论基础 15

4.2.1定时器原理 16

4.2.2软件延时原理 16

4.2.3 中断原理 16

4.3 子程序模块设计 17

4.4 本章小结 21

5 仿真及其调试 21

5.1仿真软件介绍 STC89C51单片机的智能交通灯控制系统设计+电路图+程序:http://www.751com.cn/zidonghua/lunwen_72597.html

------分隔线----------------------------
推荐内容