摘要

近年来随着科技的飞速发展,单片机的应用正在不断地走向深入。在实时检测和自动控制的单片机应用系统中,单片机往往是作为一个核心部件来使用,仅单片机方面知识是不够的,还应根据具体硬件结构,以及针对具体应用对象特点的软件结合,加以完善。

该文介绍了一个基于单片机的智能交通灯控制系统的设计与仿真,系统能够根据十字路口双车道车流量的情况控制交通信号灯按特定的规律变化。

该文首先对智能交通灯的研究意义和智能交通灯的研究现状进行了分析,指出了现状交通灯存在的缺点,并提出了改进方法。智能交通灯控制系统通常要实现自动控制和在紧急情况下能够手动切换信号灯让特殊车辆优先通行。该文还对AT89S52单片机的结构特点和重要引脚功能进行了介绍,同时对智能交通灯控制系统的设计进行了详细的分析。最后介绍了PROTEUS嵌入式系统仿真与开发平台的使用方法,利用Proteus软件对交通灯控制系统进行仿真。

关键词:AT89S52单片机;智能交通灯控制系统;PROTEUS仿真

 

 

 

ABSTRACT

In recent years, with the rapid development of science and technology, the application of single-chip microcomputer are to depth. In real-time detection and automatic control system of single-chip applications, Single-chip is often used as a core component, only single-chip knowledge is not enough, It should also be based on the specific hardware structure and application of object-specific features of the software to be perfect. This paper describes a microcontroller-based intelligent traffic light control system design and simulation. System at a crossroads two-lane traffic flow in accordance with the situation in control of the traffic light changes according to the laws of a particular.

The first study, such as Intelligent Transportation Research significance and analysis, point out that the status quo of the shortcomings of the existence of traffic lights and made things better. Intelligent traffic light control system is usually in order to achieve automatic control and in emergency situations to manually switch the signal to allow priority access to special vehicles. The article also AT89S52 MCU pin structure and important functional characteristics are introduced, at the same time intelligent traffic light control system carried out a detailed analysis. Finally, simulation and embedded system protues development platform to use, the use of software protues traffic lights control system simulation.

KEY WORDSAT89S52 single-chip microcomputer; Intelligent traffic light control system; PROTEUS simulation

 

 

  

  1. 绪论… 1

1.1  课题背景… 1

1.2  课题研究意义… 1

1.3  国内外研究现状… 2

1.4  论文结构… 3

  1. 方案论证与设计… 4

2.1  课题设计要求… 4

2.2  方案选择与比较… 4

2.2.1  基于数字电路的交通灯控制系统… 4

2.2.2  基于PLC的交通灯控制系统… 4

2.2.3  基于单片机的交通灯控制系统… 4

2.3  总体方案设计… 5

  1. 硬件电路设计… 7

3.1  单片机主控模块设计… 7

3.1.1  AT89S52介绍… 7

3.1.2  单片机主控电路设计… 9

3.2  车辆检测模块设计… 10

3.3  信号灯电路模块设计… 13

3.4  时间显示电路模块设计… 14

3.4  电源电路模块设计… 16

  1. 系统软件设计… 17

4.1  主程序设计… 17

4.2  显示程序设计… 18

4.3  紧急车辆中断响应程序设计… 20

  1. 智能交通灯的仿真… 22

5.1  protues软件介绍… 22

5.2  仿真过程介绍… 22

5.2.1  用protues绘制原理图… 22

5.2.2  用protues对单片机内核的仿真… 23

结束语… 26

参考文献… 27

致谢… 29

附录1  交通灯电路图… 30

附录2  交通灯控制程序… 31

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。

最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。 若排除这种情况,可在对应资源底部留言,或联络我们。

对于会员专享、整站源码、程序插件、网站模板、网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。

如果您已经成功付款但是网站没有弹出成功提示,请联系站长提供付款信息为您处理

源码素材属于虚拟商品,具有可复制性,可传播性,一旦授予,不接受任何形式的退款、换货要求。请您在购买获取之前确认好 是您所需要的资源