基于SIEMENS S7-300PLC的交通灯设计及其仿真-论文(DOC) 下载本文

江苏农林职业技术学院

毕 业 设 计(论 文)

SNL/QR7.5.4-3

基于SIEMENS/S7-300PLC的交通灯设计及其仿真

专 业 学生姓名 班 级 学 号 指导教师 完成日期

1

摘 要

可编程逻辑控制器(英文缩写PLC)是一种可靠和便捷的自动控制元件。通过计算机对微型逻辑处理器进行编程,便可以轻松和可靠地实现自动通信和自动控制。在工控应用领域,PLC因为在结构上简单、编程上便利可行,且控制精度高,所以在工业自动控制领域被得很大面积的使用。本设计论文想要介绍的一种利用Siemens-S7-300PLC做和核心控制单元,来实行十字道口交通红绿灯的有效控制的系统。设计所要实现的主要目标是通过PLC的控制来实现东南西北四个红、黄、绿灯的逻辑化闪亮,以得以控制交通红绿灯。本文采用自顶向下的设计原则通过6个控制计算器在不同时段不同频率下自动控制用于控制8个红绿灯的8个控制器。然后控制程序采用的是功能图表(SFC)、梯形图(LAD)以及指令表(STL)。在最后采用WinCC仿真软件对设计的系统和程序进行了虚拟实验室仿真和调整,试验结果验证了设计和控制程序的可行性。

关键字:可编程逻辑器、S7-300PLC、交通红绿灯、WinCC

2

ABSTRACT

Programmable Logic Controller(PLC)is one kind of durable and easy-use automatic control unit. The PLC is applied in large range in industrial control field due to its can be easily design program and with good precision. This paperwork implements the SIMENS-S7-300PLC into controlling the traffic signal lights system. The design specification is to use the S7-300PLC as the ECU for controlling the 8 traffic lighters in four directions. The paperwork conducts the up-down principle and design 6 counters for controlling the 8 lighters in different frequency and different period via the SFC/LAD/STL language. Finally it uses the WINCC for lab-view simulation and validated the whole system and program code is ok for launch.

Keyword:PLC、S7-300PLC、traffic lighters、WINCC