摘要随着社会经济的发展,城市交通问题越来越引起人们的关注.人、车、路三者关系的和谐,已成为交通治理部分须要解决的主要问题之一.城市交通节制系统是用于城市交通数据监测、交通讯号灯把持与交通劝导的盘算机综合治理体系,它是现代城市交通监控指挥体系中最主要的组成部分.随着城市灵活车量的不断增添,很多大城市如北京、上海、南京等呈现了交通超负荷运行的情形,因此,自80年代后期,这些城市纷纭修建城市高速道路,在高速途径建设完成的初期,它们也曾有效地改良了交通状态.然而,随着交通量的快速增加和缺少对高速道路的系统研讨和掌握,高速道路没有充足施展出预期的作用.而城市高速道路在结构上的特色,也决议了城市高速途径的交通状态必定受高速道路与普通途径耦合处交通状态的制约.所以,如何采取适合的控制方式,最大限度应用好消耗巨资修建的城市高速道路,缓解主干道与匝道、城区同周边地域的交通拥堵状况,越来越成为交通运输治理和城市计划部分亟待解决的重要问题.为此,笔者进行了深刻的研讨,本文就城乡交通灯模仿控制系统的电路原理、设计盘算和试验调试等问题来进行具体剖析讨论.实现路灯控制体系的节制方式很多,可以用尺度逻辑器件、可编程序把持器PLC、单片机等计划来实现.其中用尺度逻辑器件来实现电路在很大水平上要受到逻辑器件如门电路等的影响,调试工作极为不易,而笔者对单片机应用来进行系统的设计开发也不是很熟习,因此,笔者最终选择了用可编程的PLC来实现系统的设计,完成本次论文的写作.关键字:PLC交通灯程序报告设计ABSTRACTAlongwiththedevelopmentofthesocietyeconomy,thecitytransportationproblemcausespeople'sconcernmoreandmore.Thecoordinationoftheperson,car,theroadthreesrelation,havebecomeoneoftheimportantproblemsthatthetransportationmanagementsectiondemandresolve.Thecitytransportationcontrolsystemisthecalculatorthatusedsforthecitytransportationdatamonitor,thetransportationsignalbeaconcontrolandtransportationtoappeasecomprehensivemanagementsystem,itisinthemoderncitytransportationsupervisionconductorsystemtoconstitutepartmostimportantly.Carryoutthecontrolmethodofthestreetcornertransportationlightsystemalotof,cancarryoutwiththestandardlogicsparepart,programmableprefacecontrollerPLC,singleslicemachineetc.project.Carriesouttheinfluencethattheelectriccircuitwantstobesubjectedtothelogicsparepart,suchasdoor,electriccircuittoalargeextentetc.withthestandardlogicsparepartamongthem,adjusttotryaworkextremelynoteasy,andwritertosingleslicetheluckuseisnotveryeithertoacquaintwithtothedesigndevelopmentofcarryonthesystem,therefore,theendwriterchoosestouseprogrammablecontrollerPLCtocarryoutthedesignofthesystemfunction,completionoriginallytimethelessonestablishoftopic.Keyword:ThePLCtransportationlightprocedurereportdesign目录摘要................................................................................................................................................1目录................................................................................................................................................31引言...........................................................................................................................................41.1PLC概述..........................................................................................................................41.2PLC的功能......................................................................................................................41.3PLC的工作原理和结构..................................................................................................51.3.1PLC的工作原理....................................................................................................51.3.2PLC的基本结构....................................................................................................51.4PLC的硬件介绍和选型..................................................................................................52交通灯信号控制系统设计要求.................................................................................................72.1十字路口交通灯控制实际情况.......................................................................................72.2结合十字路口交通灯的路况模拟控制实验.................................................................73交通灯控制系统总体设计.........................................................................................................93.1交通灯控制系统的构成图................................................................................................93.2十字路口交通信号灯控制系统的资源分配....................................................................93.3交通灯控制系统软件件设计.......................................................................................133.3.1十字路口交通灯模拟控制时序图......................................................................133.3.2程序流程图.........................................................................................................143.3.3交通灯交替顺序控制设计.................................................................................153.3.4倒计时程序的设计.............................................................................................173.3.5程序梯形图.......................................................................................................193.3.6梯形图对应的语句表.........................................................................................214PLC应用及使用中的问题........................................................................................................216.1系统电路干扰.................................................................................................................216.1.1工作环境...........................................................................................................216.1.2控制系统中干扰及其来源..................................................................................226.2主要抗干扰措施.............................................................................................................235总结....................................................