1、精品 基于 PLC 的模拟交通灯控制系统设计 学生姓名 系(部) 电气信息工程系 专 业 计算机控制技术 指导教师 10 年 5 月 24 日 精品 摘要 本次模拟交通灯控制系统设计, 通过对现代城市交通控制与管理问题的现状的分 析,结合交通的实际情况阐述了交通灯控制系统的工作原理,给出了一种简单的城市 交通灯控制系统的 PLC 设计方案。 选用 FX2N,PLC 进行本次设计,在设计中根据交通拥 挤情况的不同,将交通信号分为正常时段、高峰时段、夜间三个不同工作方式进行设 计。本文使用 SFC 编制控制程序,在正常时段红灯亮 30 秒,绿灯亮 20 秒闪烁 5 秒, 黄灯亮 5 秒;在高峰时段
2、红灯亮 30 秒,绿灯亮 25 秒闪烁 3 秒,黄灯亮 2 秒;夜间只 黄灯亮,黄灯闪烁按亮 0.4 秒,暗 0.6 秒的规律反复循环。另外设置一个急停按钮, 以便应急使用。 关键字关键字: 交通灯 交通控制 PLC SFC 设计方案 精品 AbstractAbstract The simulating traffic control system design, through to the modern urban traffic control and management of the analysis of the current problems, combined with th
3、e actual situation of traffic lights, expounds the working principle of control system, this paper presents a simple urban traffic control system design scheme of PLC. Choose FX2N PLC for the design, in the design, according to the different traffic conditions, the traffic signal into normal time, a
4、t its peak in the night, three different way of working on the design. This paper used the SFC compiled in normal time control procedures, 30 seconds, the red light flashing lights 20 seconds for 5 seconds, yellow light 5 seconds, In rush 30 seconds, the red light flashing lights for 25 seconds 3 se
5、conds, yellow light 2 seconds, Night light yellow, yellow light only flashing light, dark by 0.4 seconds 0.6 seconds rule over cycle. Another set a stop button to emergency use. Key words: traffic control PLC SFC design 精品 目 录 前言 . 1 第一章 绪论 2 第一节 PLC 的概述 2 第二节 交通灯发展简介 . 4 第三节 十字路口交通灯设计要求 . 4 第二章 交通灯
6、控制系统设计 6 第一节 PLC 机型的选择 6 第二节 十字路口交通等模拟图 . 6 第三节 I/O 接线图 . 7 第四节 各个时段的控制过程的设计 . 8 第五节 SFC 控制程序设计 10 第三章 设计总结 . 15 第一节 程序调试 15 第二节 难点分析 15 第三节 收获和体会 15 参考文献 16 附录 指令表程序 . 17 致谢 23 精品 前言 可编程序控制器(PLC)是以计算机技术为核心的通用自动控制装置,在日常生 活中得到了广泛的应用。 PLC 是一种数字式运算操作的电子系统, 专为工业环境下应用而设计。 它采用可 编程序的存储器,用来在其内部存贮执行逻辑运算、顺序控制、定时、计数和算术等 操作指令,并通过数字式、模拟式的输入输出,控制各种类型的机械或生产过程。 PLC 具有可靠性高,抗干扰能力强等优点,PLC 的平均无故障运行时间(又称 平均故障间隔时间 MTBF)已经高达几十万小时。其次,PLC 具有通用性强,使用方 便的特点。由于 PLC 产品的系列化和模块化,PLC 配