湖南涉外经济学院本科毕业论文(设计)题目基于三菱PLC和组态技术的交通灯控制系统设计作者 ##学院信息科学与工程学院专业电子信息工程(自动化)专业学号################指导教师###二〇一三年五月十五日3.毕业论文(设计)进度安排指导教师(签章)___________ 日期__________________系(教研室)主任(签章)____________ 日期__________________二级学院院长(签章)____________ 日期__________________湖南涉外经济学院毕业论文(设计)指导教师评语湖南涉外经济学院毕业论文(设计)评阅教师评语湖南涉外经济学院毕业论文(设计)答辩记录日期:学生姓名:学号:专业班级:题目:摘要当今,红绿灯安装在各个道口上,已经成为疏导交通车最常见和最有效的手段。
社会的发展,人们的消费水平不断的提高,私人车辆不断的增加。
人多、车多、道路少的道路交通状况很明显了。
所以采用有效的方法控制交通灯势在必行的。
PLC的智能控制原则是控制系统的核心,采用PLC把东西方向或南北方向的车辆按数量规模进行分档,相应给定的东西方向与南北方向的绿灯时长也按一定的规模分档,这样就可以实现按车流量规模给定绿灯的时长,达到最大限度的有车放行,减少十字路口的车辆滞流,缓解交通拥挤、实现最优控制,从而提高交通控制系统的效率。
MCGS为用户提供了解决实际工程问题的完整方案和开房平台,能够完成现场数据采集、实时和历史数据处理、报警和安全机制、动画显示、趋势曲线和报表输出以及企业监控网络等功能。
使用MCGS用户无须具备计算机编程知识,就可以在短时间内轻而易举地完成一个运行稳定,功能成熟,维护量小并且具备专业水准的计算机监控系统开发工作。
MCGS具备操作简单,可视性好、危害性强、高可靠性等突出特点。
在PLC与计算机通讯的基础上,通过组态软件可以对PLC的当前工作状态进行全方位的监控,进一步通过组态软件可以对控制对象的工作过程进行全程模拟仿真,实现远程控制。
因其充分利用了计算机和PLC的特点,实现了优势互补而得到广泛应用。
本文利用计算机作为上位机,利用(MCGS6.2)组态软件作为程序开发平台,下位机采用三菱公司FX-2N系列可编程序控制器,组成一个简单实用的十字路口交通灯控制系统,以解决路口人行横道中行人闯红灯而引起的交通安全问题。
关键字:PLC;MCGS组态;交通灯;控制系统ABSTRACTtoday, the traffic lights installed in each crossing, to ease the traffic has become the most common and most effective means of. The development of society, people's consumption level unceasing enhancement, personal vehicles unceasing increase. Many people, fewer cars and more road traffic is very obvious. So adopting effective method to be imperative to control traffic lights. Intelligent PLC control principle is the core of the control system, using PLC to East-West or north-south direction of the vehicle were classified according to the number of scale, east-west and north-south direction corresponding to a given length of green time by a certain size grading, this can be achieved by the car flow scale given light duration, maximum limit vehicle clearance, reducing the crossroads of the vehicle stagnation, relieve traffic congestion, to achieve optimal control, so as to improve the efficiency of traffic control system.MCGS provides a complete solution to solve practical engineering problems and open platform for the user, can complete the data acquisition, real-time and historical data processing, alarm and security mechanism, animation display, trend curve and report output and enterprise network monitoring and other functions. The use of MCGS, the user need not have knowledge of computer programming, can be an easy job to complete a stable operation, in a short period of time to mature, to maintain the development of computer monitoring and control system of small amount of work and professional. MCGS has simple operation, good visibility, strong harmfulness, high reliability characteristics.Based on PLC and computer communications, through the configuration software can monitor the full range of the current working state of PLC, further through the configuration software can process simulation of working process for controlled object, to realize the remote control. Because it makes full use of the characteristics of computer and PLC, realize the complementary advantages and has been widely applied. This paper uses computer as upper machine, using (MCGS6.2) configuration software as development platform, the slave computer uses Mitsubishi Co FX-2N series programmable controller, a simple and practical controlof traffic lights at a crossroads, to solve the intersection crosswalks and pedestrian red-light traffic safety problems caused by.Keywords:PLC;MCGS configuration;traffic lights;control system目录摘要.................................................................. ABSTRACT .. (I)第一章前言 (2)第二章 PLC的基本介绍 (3)2.1 可编程控制器的定义 (3)2.1.1 通用叫法 (3)2.1.2 什么是PLC (3)2.1.3 PLC的主要特点 (4)2.2 PLC硬件系统组成 (4)2.3 PLC的工作原理 (6)2.3.1 工作原理 (6)2.3.2 PLC的扫描工作原理 (6)2.4 MCGS组态软件 (8)第三章基于三菱PLC交通灯控制系统设计 (8)3.1 交通灯系统控制要求 (9)3.1.1 十字路口交通灯变化规律 (9)3.1.2 十字路口交通灯控制系统I/O地址分配 (10)3.2 设计思路 (12)3.3 程序的梯形图和指令表 (13)第四章 MCGS设计基本步骤 (15)4.1 建立MCGS新工程 (15)4.2 设计画面流程 (15)选中“窗口0”,单击“窗口属性”,进入“用户窗口属性设置”,讲“窗口名称”改为:交通灯;讲“窗口标题”改为“交通灯”;在“窗口位置”中选中“最大优化显示”,其他不变,单击“确认”,如图所示图4.3。
(16)4.3 定义数据变量 (17)4.4 动画连接 (18)4.5 设备窗口属性设备 (22)设备窗口属性设置在组态工作台界面中,用鼠标单击“设备窗口”选项,出现设备窗口图标并双击进入设备组态窗口;在此窗口中通过设备工具箱,完成设备组态,如图4.11所示。
(22) (27) (27) (28)结论 (29)参考文献 (30)致谢本次设计是在我的指导老师侯玉宝老师的精心指导下完成的,在我的毕业设计选题、调研、开题以及撰写过程中始终严格要求,同时及时地给我指导和批评指正,他学识渊博,治学严谨,思维敏捷,使我受益匪浅。
他在学习、生活上给了我很大的帮助和支持,值此论文完成之际,我向侯玉宝老师致以最诚挚的感谢和深深的敬意!其次,在我毕业设计过程中胡凤忠老师给与我很大的帮助,他在MCGS系统监控方面给予我思路,让我知道前面的想法是的错了,并及时改正,做好MCGS监控。
在此我向胡凤忠老师表示衷心的感谢!同时,在整个大学期间,很多优秀老师给予我学习上的帮助和支持,他们无私的指导对我完成毕业论文有着至关重要的作用,在此我向他们表示深深的感谢!最后,冯洁老师给我提供了实验的场所,让我能够编写程序,调试程序,修改程序,最后完成程序,让我在这期间发现了很多的不足,和同学讨论,并改正,最后完成,在这里特意感谢冯洁老师和各位同学。