1、PLCPLC 信号灯模拟控制系统设计信号灯模拟控制系统设计 摘摘 要要 自从交通灯诞生以来,其内部的电路控制系统就不断的被改进。设计方法也开始多种 多样,从而使交通灯显得更加智能化。 可编程控制器(PLC)以微处理器为核心, 普遍采用依据继电接触器控制系统电气原理图 编制的梯形图语言进行程序设计,编程容易,功能扩展方便,修改灵活,而且结构简单, 抗干扰能力强。西门子可编程控制器指令丰富,可以接各种输出、输入扩充设备,有丰富 的特殊扩展设备,其中的模拟输入设备和通信设备更是符合交通灯控制系统的要求与特 点,能够方便地联网通信。 本文选择西门子可编程控制器 S7-200 为核心部件,着重进行硬件接
2、口设计,利用梯形 图和语句表进行编程,实现了十字路口交通灯控制系统的自动化。 关键词 PLC;交通控制;自动化 1 ABSTRACTABSTRACT Since the inception of traffic lights, and its internal circuit control system is constantly being improved. Design began to diversity, so that even more intelligent traffic lights. Programmable Logic Controller (PLC) micropr
3、ocessor core, commonly used control system based on electrical relay contacts compiled ladder diagram programming language, programming is easy, convenient extensions, modify flexible and simple structure, anti- interference ability. Siemens PLC instruction rich, you can take a variety of output, in
4、put extension device, has a wealth of special extension equipment, including analog input devices and communications equipment is consistent with the requirements of traffic light control system with features for easy network communication. This choice of Siemens S7-200 PLC as its core components, f
5、ocusing on the hardware interface design, and statements using the table ladder programming, a crossroads of traffic light control system automation. Keywords PLC; Keywords PLC; traffic control; automation 2 目目 录录 摘 要 0 1 绪论 3 1.1 课题背景 .3 1.2 研究目的和意义 .3 1.3 本文的主要工作 .4 2 可编程程序控制器(PLC) 5 2.1 PLC 概述 .5
6、 2.1.1 PLC 的发展历程 .5 2.1.2 PLC 的发展趋势 .6 2.1.3 PLC 的应用 .7 2.2 PLC 的硬件结构 9 2.3 PLC 的工作原理 9 3 系统设计 11 3.1 控制要求 11 3.2 系统硬件设计 .11 3.2.1 十字路口的系统框图 11 3.2.2 工作原理图 12 3.3 编程设计 .13 3.3.1 流程图 13 3.3.2 信号灯控制编程元件表 14 3.3.3 梯形图 15 结束语 .18 致 谢 .19 参考文献 .20 3 1 1 绪论绪论 1.11.1 课题背景课题背景 1858 年,在英国伦敦主要街头安装了以燃煤气为光源的红,蓝两色的机械扳手式信号 灯,用以指挥马车通行。这是世界上最早的交通信号灯。1868 年,英国机械工程师纳伊特 在伦敦威斯敏斯特区的议会大厦前的广场上,安装了世界上最早的煤气红绿灯。它由红绿 两以旋转式方形玻璃提灯组成,红色表示“停止”,绿色表示“注意”。1869 年 1 月 2 日, 煤气灯爆炸,使警察受伤,遂被取消。1914 年,电气启动的红绿灯出现在美国。这种红绿 灯由红绿黄