城市交通灯控制系统

上传人:n**** 文档编号:82909458 上传时间:2019-02-25 格式:DOC 页数:29 大小:386KB
返回 下载 相关 举报
城市交通灯控制系统_第1页
第1页 / 共29页
城市交通灯控制系统_第2页
第2页 / 共29页
城市交通灯控制系统_第3页
第3页 / 共29页
城市交通灯控制系统_第4页
第4页 / 共29页
城市交通灯控制系统_第5页
第5页 / 共29页
点击查看更多>>
资源描述

《城市交通灯控制系统》由会员分享,可在线阅读,更多相关《城市交通灯控制系统(29页珍藏版)》请在金锄头文库上搜索。

1、 I 摘摘 要要 城市交通信号控制是通过对交通流量的调节以达到改善人和货物的安全运输, 提高运营效率。交通系统是一个具有随机性、模糊性和不确定性的复杂系统,建立数 学模型非常困难,有时甚至无法用现有的数学方法加以描述。目前大多采用的是自适 应信号控制,它需要数学建模,且不考虑交通延误、停车次数等。所以经典控制法很 难得到满意的效果。而模糊控制是一种无须建立数学模型的控制方法,它能模仿有经 验的交警指挥交通时的思路,达到很好的控制效果。近些年来我国的许多学者也都以 不同的思路对单个交叉口、交通干线的模糊控制进行了研究,但因研究的局限性,实 际中得到应用的寥寥无几,本文实现基于 PLC 的交通信号

2、的控制系统。 根据前后相流量来决定信号灯配时的模糊控制系统的理论研究成果,用 PLC 实现 单个十字路口交通信号灯模糊控制的方法,以单个十字路口 4 相位交通灯为例,把 PLC 作为一个模糊控制器,采用梯形图编程。通过实验保证了系统运行稳定可靠,能根据 不同的交通流量进行模糊控制决策,优化信号灯的配时,从而可以有效的解决交通流 量不均衡、不稳定带来的问题。 近年来随着科技的飞速发展,一个以微电子技术、计算机技术和通信技术为先导 的信息革命正在蓬勃发展。计算机技术作为三者之一,怎样与实际应用更有效的结合 并发挥其作用。单片机作为计算机技术的一个分支,正在不断的应用到实际生活中, 同时带动传统控制

3、检测的更新。在实时检测和自动控制的应用系统中,单片机往往是 作为一个核心部件使用,针对具体应用对象的特点,配以其它器件来加以完善。靠的是 交通信号灯的自动指挥系统,来实现交通的井然有序。交通信号灯控制方式很多。本 系统采用美国 ATMEL 公司生产的单片机 AT89S51,以及其它芯片来设计交通灯控制。实 现了通过 AT89S51 芯片的 P1 口设置红、绿灯点亮的功能,通过 AT89S51 芯片的 RXD、TXD 输入、输出设置显示时间。交通灯的点亮采用发光二极管实现,时间的显示 采用七段数码管实现。单片机系统采用的直流供电。为了系统稳定可靠,系统内集成 了“看门狗”芯片,避免了系统因为死机

4、而停止工作的情况发生。系统实用性强、操 作简单、扩展性好。 关键词:关键词: 交通灯 PLC 智能控制 II Abstract City traffic signal control is through the adjustment of the traffic flow in order to improve the safety of transport of people and goods, improve operational efficiency. Transport system is a random, fuzzy and uncertainty of complex sy

5、stems, it is difficult to build mathematical model, sometimes impossible to use existing mathematical methods described. At present most adaptive signal control is used, it needs mathematical model, without considering traffic delays, number of stops. So the classical control method is very difficul

6、t to get a satisfied effect. Fuzzy control is a kind of does not need to establish the mathematical model to control methods, it can imitate experienced police directing traffic, ideas, achieve good control results. In recent years, many Chinese scholars have different ideas of fuzzy control to the

7、traffic single intersection, were studied, but because of the limitations of the research, application of scanty practice, the implementation of traffic signal control system based on PLC. Decision fuzzy signal control system theory research results according to the method and flow, using PLC to ach

8、ieve a single traffic lights at the crossroads of fuzzy control, the single crossroads 4 phase of traffic lights, for example, the PLC as a fuzzy controller, using ladder programming. Through the experiment to ensure the reliable operation of the system, can be fuzzy control decision according to th

9、e different traffic flow, optimize signal distribution, which can effectively solve traffic imbalance, instability problems. In recent years, with the rapid development of science and technology, a microelectronics technology, computer technology and communication technology as the forerunner of the

10、 information revolution is booming. As one of the three computer technology, combined with practical application more effective and play its role. Single chip microcomputer as a branch of computer technology, has been applied to real life, and promote the traditional control detection update. In rea

11、l-time detection and automatic control system, SCM is often used as a core component, according to the characteristics of the specific application object, match with other devices to be perfect. Relying on the automatic command system of traffic signal lamp, traffic in order to achieve. A lot of tra

12、ffic signal control. This system uses the American ATMEL company AT89S51 microcontroller, and other chip to design the control of traffic lights. Through the implementation of the AT89S51 chip set P1 mouth red, green light function, through the AT89S51 chip RXD, TXD input, output is set to display t

13、he time. Traffic lights lit by the light emitting diode, the time display using seven digital tube. DC power supply used in SCM system. In order to the system is stable and reliable, the system integrates “watchdog“ chip, to avoid the system crashed and stop work because of the situation. The system

14、 practical, simple operation, good scalability. Key words:The traffic lights PLC intelligent control 青岛理工大学琴岛学院专科毕业设计说明书(论文) 目目 录录 摘摘 要要I I ABSTRACTABSTRACTIIII 1 1 引言引言1 1 2 2 交通管理方案论证交通管理方案论证2 2 2.1 设计任务.2 2.2 方案介绍.2 3 3 交通灯系统硬件设计交通灯系统硬件设计5 5 3.1 单片机概述.5 3.2 系统构成.5 3.3 芯片选择与介绍 .6 4 4 交通灯软件设计交通灯软件设

15、计1111 4.1 程序设计流程图11 4.2 延时的设定 13 4.3 程序的主控制循环调用15 4.4 对现有程序的扩充15 5 5 实验平台实验平台1717 5.1 实验平台 17 5.2 实验步骤 17 结结 论论1919 致致 谢谢2020 参考文献参考文献2121 附附 录录2222 青岛理工大学琴岛学院专科毕业设计说明书(论文) - 1 - 1 1 引言引言 今天,红绿灯安装在各个道口上,已经成为疏导交通车辆最常见和最有效的手段。 但这一技术在 19 世纪就已出现了。 1858 年,在英国伦敦主要街头安装了以燃煤气为光源的红,蓝两色的机械扳手式信 号灯,用以指挥马车通行。这是世界

16、上最早的交通信号灯。1868 年,英国机械工程师纳 伊特在伦敦威斯敏斯特区的议会大厦前的广场上,安装了世界上最早的煤气红绿灯。它 由红绿两块以旋转式方形玻璃提灯组成,红色表示“停止” ,绿色表示“注意” 。1869 年 1 月 2 日,煤气灯爆炸,使警察受伤,遂被取消。 1914 年,电气启动的红绿灯出现在美国。这种红绿灯由红绿黄三色圆形的投光器组 成,安装在纽约市 5 号大街的一座高塔上。红灯亮表示“停止” ,绿灯亮表示“通行” 。 1918 年,又出现了带控制的红绿灯和红外线红绿灯。带控制的红绿灯,一种是把压 力探测器安在地下,当车辆接近时,红灯便变为绿灯;另一种是用扩音器来启动红绿灯, 司机遇红灯时按一下喇叭,就使红灯变为绿灯。红外线红绿灯当行人踏上对压力敏感的 路面时,它就能察觉到有人要过马路。红外光束能把信号灯的红灯延长一段时间,推迟 汽车放行,以免发生交通事故。 信号灯的出现,使交通得以有效管制,对于疏导交通流量、提高道路通行能力,减 少交通事故有明显效果。1968 年,联合国道路交通和道路标志信号协定对各种信号 灯的含义作了规定。绿灯是通行信号,面对绿

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 学术论文 > 毕业论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号