安全检测:瑞星:安全 诺顿:安全 卡巴:安全
毕业设计-基于PLC的交通灯组态画面设计,共43页,12911字,附外文翻译、答辩PPT、梯形图
摘 要
随着社会的发展和人们的消费水平不断的提高,私人车辆不断的增加。人多、车多、道路少的交通状况已经很明显了。所以采用有效的方法来控制交通灯是势在必行的。
PLC具有结构简单、编程方便、可靠性高等优点,已广泛用于工业过程的自动控制中。由于PLC具有对使用环境适应性强的特性,同时其内部的定时器资源十分丰富,可对目前较为普遍使用的“渐进式”信号灯进行精确控制,特别对多岔路口的控制也可以方便地实现。因此本设计以欧姆龙CP1H系列PLC为控制核心,根据预定的控制规律准备设计了一套简单实用的城市交通灯控制系统的PLC控制方案,包括直行、左转、右转红绿灯的控制。并用上位机组态软件实现交通灯的实时监控,监控画面包括交通灯信号的实时显示以及倒计时显示。
关键词:PLC,交通灯,控制系统,组态设计
ABSTRACT
Social development, people's consumption levels continue to increase, private vehicles is increasing. Of people, cars and more roads have less traffic status is obvious. Therefore, the adoption of effective methods to control traffic lights is imperative.
PLC structure is simple, easy programming, high reliability, has been widely used for industrial process and location of the automatic control. The use of the PLC has the characteristics of environmental adaptability, while its internal timer resources are very rich, the current widespread use of the "progressive" signal for precise control, particularly control of multi-fork can be easily achieved. Therefore, the PLC is now increasingly used in traffic lights system. PLC also has a communications networking capabilities, the same signal on the road to form a unified LAN management, and can shorten the waiting time for vehicle traffic, to achieve scientific management. Therefore?the design of the?OMRON CP1H series?PLC as control core,?to design a set of?simple and practical?city?traffic light control system?PLC control scheme?based on the?control of?scheduled rules,?including the control of straight,?turn left,?turn right?the traffic lights.?Real time monitoring?and?PC configuration software?implementation of traffic lights,?including?real timemonitoring picture?display?traffic signal lights?and?the countdown display.
Keywords: PLC, traffic lights, control systems, configuration design
目 录
第一章 绪论 5
1.1 选题的背景与意义 5
1.2 城市交通灯的现状 6
1.3 本论文的主要工作 6
第二章 系统硬件设计 7
2.1 系统的组成框图 7
2.2 硬件选择 7
2.3 可编程控制器简介 8
2.3.1 PLC的基本概念 8
2.3.2 PLC的基本结构 8
2.3.3 PLC的功能特点 9
2.3.4 PLC的工作原理 9
2.3.5 PLC的I/O响应时间 10
第三章 系统程序设计 12
3.1 软件选择 12
3.2 交通灯的控制过程 12
3.3 输入点和输出点的I/O分配 13
3.4 梯形图的解释说明 14
第四章 组态画面的设计 16
4.1 组态王软件的概述 16
4.2 组态王与I/O设备 17
4.3 交通灯的组态画面设计过程 17
4.3.1 创建工程 17
4.3.2 定义外部设备 18
4.3.3 定义数据变量 21
4.3.4 制作图形画面 23
4.3.5 建立动画链接 25
4.3.6 动态画面演示 29
第五章 系统调试 31
5.1 系统程序调试 31
5.2 系统硬件调试 31
5.3 联机调试 32
参考文献 33
致谢 34
毕业设计小结 35
附录 36
本论文的主要工作
1. 系统硬件设计
认识了解欧姆龙PLC,并绘制出系统的组成框图。
2. 系统程序设计
选择CX-Programmer作为编程软件,根据交通灯的工作原理,绘制出流程图,编写梯形图,并做I/0分配。
3. 组态画面的设计
使用组态王6.53,根据梯形图,设计组态画面,并定义外部设备和数据变量,进行动态连接,最后美观静态画面。
4. 系统调试
调试动态画面,使组态画面正常运行。