文档介绍:上海交通大学
硕士学位论文
基于Linux的智能交通灯控制器设计
姓名:秦建新
申请学位级别:硕士
专业:控制理论与控制工程
指导教师:路林吉
20080101
基于 Linux 的智能交通灯控制器设计
摘要
城市交通控制系统是现代城市交通管理和控制的基础,对于缓解城市交通压
力至关重要。近年来,许多科研部门和企业通过运用目前先进的计算机和自动化
控制技术进行交通控制系统的研究工作,不断提升了城市交通控制系统的性能。
通过对交叉路口时间和空间资源的合理配置,使得交叉口达到最大程度的畅通-
根据不同的道路交通状况选用合适的交通信号控制系统和系统控制方案,使得道
路资源得到充分的利用,提高道路的通行能力。
本文主要以单点控制方式为研究内容,实现相位,时段和节假日可控。在单
点控制方式、优化和算法方面进行了细致的研究。给出了与实际相符的有效的控
制方法。这里深入研究了定时控制和感应控制,并结合实际把改进了的定时控制
应用于本控制系统。本系统相位的控制不是采用预设方案的模式,设置更加灵活。
首先可以采用最合理的相位数,根据实际交通状况设置相位长度,然后化分时段,
一天中不同时段采用不同的控制方案,使车流量的变化和最佳控制方案紧密结合
在一起,这大大提高了控制系统的适应性和疏通交通流的效率。
控制系统硬件核心采用性能稳定且对各种总线有良好支持的ARM9(三星)芯
片,,方便用户的操控。
软件设计主要分两方面,包括和硬件联系紧密的驱动程序和上层的miniGUI应用
程序。驱动程序主要是提供给上层应用程序操作硬件资源的接口,上层应用程序
开发是在miniGUI的平台上设计更加人性化的人机界面,使的控制系统可以方便
的进行设置从而实现对交通信号的控制。整个控制系统设计完成后最大可支持到
16相位,最基本的48路灯输出,一天最多可分成24个时段,最多可采用24种控制
方案,可增加30个特殊节假日,第一次启动后系统有统默的控制方案(四相位控
制方案)可供用户直接使用,当不能很好符合实际交叉路口需求时用户可人工设
置不同的控制方案实现不同路口的最佳控制。
关键字:交通控制系统,ARM9,Linux,单节点控制
IV
Design of the traffic controller based on
Linux
Abstract
Traffic control is the base of city traffic management and control. It is so
important that can release the traffic pressure of the city. In recent years,many
industrial research departments panies apply the control technology of
computer and automation to the traffic control system design. In this way, they
improve the performance of the traffic control system greatly. They make the traffic
most smooth through making use of the space and time resource more
reasonably-choosing reasonable control system and control scheme according to
different traffic condition to improve the capability of the road.
This paper make researches on single point control mode mainly- making the
phase,time period and holiday controllable. The control mode,optimization and
algorithm have been researched carefully. The control system can be controlled more
flexibly. The system doesn’t adopt the fixed mode. Firstly,set the rea