1、 毕业设计 题 目 ( 中 文): PLC 在十字路口交通灯控制系统中 的应用 (英 文): The application of PLC in intersection traffic light control system 姓 名 学 号 院 (系) 机电工程系 专 业 机电一体化 指 导 教 师 2010 年 03 月 15 日 I 目 录 绪论 1 1 PLC 的基础. 2 1.1 PLC 的特点. 2 1.2 PLC 的结构和工作原理. 3 1.2.1 PLC 的基本结构. 3 1.2.2 PLC 的工作原理. 4 2 西门子 S7-200 系列 PLC 的硬件单元 . 6 2.1
2、 主机 6 2.1.1 CPU 的主要特点 7 2.1.2 存储系统 7 2.2 扩展单元 7 2.3 特殊功能模块 8 2.4 内部软元件 9 2.5 基本指令 10 3 系统的设计与仿真 12 3.1 控制要求 12 3.2 硬件设计 13 3.2.1 交通信号灯 PLC 的输入/输出点的分配表 . 13 3.2.2 交通信号灯 PLC 控制硬件接线图. 13 3.3 软件设计 14 3.3.1 交通信号灯 PLC 控制梯形图. 14 3.3.2 交通信号灯 PLC 控制的指令表. 15 3.3.3 程序说明 16 3.3.4 交通信号灯的状态波形图 17 结论 18 参考文献 19 致
3、谢 20 II 插图索引 图 1 交通灯的放置 . 12 图 2 交通信号灯 PLC 控制硬件接线图 13 图 3 交通信号灯的状态波形图 . 17 III 附表索引 表 1 S7-200 I/O 编址 . 8 表 2 交通灯亮闪表 . 12 表 3 交通信号灯 PLC 的输入/输出点的分配表 13 IV PLC 在十字路口交通灯控制系统中的应用在十字路口交通灯控制系统中的应用 摘 要 PLC 可编程序控制器是以微处理器为基础, 综合了计算机技术、 自动控制技术和通讯技术发 展而来的一种新型工业控制装置。它具有结构简单、编程方便、可靠性高等优点,已广泛用于工 业过程和位置的自动控制中。据统计,
4、可编程控制器是工业自动化装置中应用最多的一种设备。 专家认为, 可编程控制器将成为今后工业控制的主要手段和重要的基础设备之一, PLC、 机器人、 CAD/CAM 将成为工业生产的三大支柱。由于 PLC 具有对使用环境适应性强的特性,同时其内 部定时器资源十分丰富,可对目前普遍使用的“渐进式”信号灯进行精确控制,特别对多岔路口 的控制可方便地实现。因此现在越来越多地将 PLC 应用于交通灯系统中。可缩短车辆通行等候 时间,实现科学化管理。在该设计中,还引入 EDA 模拟十字路口红绿灯闪亮及车辆通行,十分 形象地显示出了 PLC 在交通灯系统中的实际应用。 【关键词】:十字路口 交通灯 PLC
5、V The application of PLC in intersection traffic light control system Abstract The PLC programmable logic controller is a new industrial control devices, which is based on microprocessor, synthesizes computer technology, automatic control technology and communication technologies. It has the simple
6、structure, the convenient programming, the reliable higher merit, and has widely used in the commercial run and position automatic control. Statistics have indicated, the programmable controller is most one kind of equipment in the industrial automation installment applies. The expert believed that the programmable controller will become the main method and one of important foundation equipment in further, PLC, the robot, CAD/CAM will become the industrial production three big props.