中州大学工程技术学院
可编程控制器课程设计
设计题目:十字路口交通信号灯的PLC控制
专业: 应用电子技术
班级: 08应用电子技术
姓名: 徐慧颖
学号: 200801132157
指导教师: 甄敬然
目录
目录 2
3
4
6
6
. 扫描技术 6
PLC的结构 8
. 中央处理单元(CPU) 9
存储器 11
PLC 常用的存储器类型 11
PLC 存储空间的分配 11
电源 13
I/O模块 13
PLC系统的其它设备 14
外部设备 15
15
17
3. 1. 控制要求 17
. 交通灯状态图 18
4. 硬件电路设计 18
4. 1. I/O通道分配 18
4. 19
4. 3. PLC外围硬件接线图 19
5. 软件设计 20
5. 1 梯形图 20
. 指令 22
24
24
目前我国许多大中城市的交通压力都非常大。部分交通路口的信号灯工作时间不合理,交通违章或肇事记录不确切。所以,改善与提高现有的交通系统的工作效率,加强交通路口的信号灯控制是非常重要的。
本系统主要设计利用PLC来实现十字路口交通灯的控制。达到调节流量,使交通保持顺畅的目的。它弥补了现行交通灯的不足,而且克服了在同一时刻机动车辆和非机动车辆之间的交叉通行的缺点,避免了交通事故,保证了在任一时刻只有一个方向为绿灯,可供车辆通行,使交通更为安全可靠,可避免交通事故的产生。另外特种车辆,如:消防车、救护车、警车、工程抢险车等,在紧急情况之下必须强行通过十字路口时,启用急车强通方式而不至于引起交通事故。程序的设计中,分析控制交通的多种原理,用传统的方法实现难度较大,使用可编程控制器,用步进操作指令简化设计程序,使程序具有良好的可读性、可维护性和可移植性,简单明了,可靠性极高。
本系统采用德国西门子的S7-200系列的CPU226做主机,配以扩展模块EM222。设计中采用S7-200编程软件STEP 7 - Micro/。采用顺序功能图与梯形图相结合的方法设计程序。实现对城市十字路口的合理控制。
关键词:PLC控制系统;梯形图;交通灯
At present, traffic pressure in many large and medium-sized cities in China is very great. Some traffic lights’s working hours is unreasonable, violation and records of the incident is urate too. Therefore, to improve and enhance the existing transport system's efficiency and strengthen the control of traffic lights and monitoring the security situation is very important.
Design using the design of the main PLC to achieve the control of traffic lights at a crossroads. To achieve regulation of the flow, so that the purpose of smooth traffic. It made up for the inadequacy of the existing traffic lights and at the same time e the motor vehicle and non-motor vehicle access between the ings of the cross, to avoid traffic accidents, ensure that at any one time in only one direction for the green light for vehicles, so that more safe and reliable transport to prevent the emergence of a traffic accident. Other spe
PLC交通灯控制课程设计 来自淘豆网m.daumloan.com转载请标明出处.