基于spce061a单片机交通灯控制系统设计.doc
约36页DOC格式手机打开展开
基于spce061a单片机交通灯控制系统设计,基于spce061a单片机交通灯控制系统设计摘 要交通灯的智能控制是目前智能交通系统its领域中的一个分支。随着城市化速度的加快,机动车日益普及,人们受到越来越多的交通拥堵的困扰。而城市道路中交通拥堵有多方面的原因:车辆多,道路少;道路设置不合理;平面交通多,立体交通少;交叉路口交通灯时间设置不合理等等。而城市交通中平...
内容介绍
此文档由会员 tracy8086 发布
基于SPCE061A单片机交通灯控制系统设计
摘 要
交通灯的智能控制是目前智能交通系统ITS领域中的一个分支。随着城市化速度的加快,机动车日益普及,人们受到越来越多的交通拥堵的困扰。而城市道路中交通拥堵有多方面的原因:车辆多,道路少;道路设置不合理;平面交通多,立体交通少;交叉路口交通灯时间设置不合理等等。而城市交通中平面交通占得比重非常大。堵车地点多为交叉路口。主要是由于车流量大,等灯时间不合理造成的。这是目前城市交通亟待解决的问题。
目前我国城市街道交叉路口的交通信号灯虽然是自动的,但是仔细观察就会发现红绿灯的交替转换是定时式的,即转换的间隔时间是固定不变的。定时式并不符合实际要求。因为,如果东西和南北两方向车流量相差很大,而信号灯还是平均分配导通时间,就会出现这样的问题:车多的方向导通时间不足,而车少的方向导通时间剩余,造成一方向车挤另一方向车松的不合理的局面,这就是机器自动控制不如人工现场指挥的差别。
本系统设计以SPCE061A单片机为核心,通过对SPCE061A的程序设计与外接电路系统的设计来完成本系统对所有信号灯的控制与时间显示功能。通过本控制系统与模拟交通灯控制板的连接,实现本系统的模拟调试,调试结果显示,本系统能够自动完成对模拟交通灯控制板上的LED数码管以及双色LED灯的控制,能够以实际情况的顺序进行显示。同时,本控制系统除具备常规交通信号灯控制系统功能外,增设了人性化智能控制功能,通过对车流量的检测智能延长或缩短通行时间、以数字编码无线传输模式实现特种车辆的检测与快速通行、在红绿灯变换时具有语音提示、在远程查询时可语音播报当前路况。整个系统可以在正常工作状态、紧急工作状态、设置状态与查询状态之间进行无扰动切换,系统整体性好,人性化强、可靠性高。
关键词: SPCE061A单片机;交通信号灯;人性化智能控制
ABSTRACT
The intelligent control of traffic light is a branch in ITS of intelligent transportation system.As the accelerating of urbanization, motor vehicle is popularized day and day, there is a puzzles to people by traffic jam which is more and more serious.But there are many reasons for jam of urban traffic: more automobiles,fewer roads,unsuitable arrangement of roads,more plane traffic fewer stereo traffic;unsuitable arrangement on time of traffic light in crossroad, etc.Plane traffic takes up a great proportion of urban traffic.The place where jam occured frequently is crossroad.This is resulted from more vehicle flow and unreasonable time of waiting traffic light.This is q problem needed to be solved in urban traffic.
Although, the control of traffic light of crossroad in urban traffic is automatic,the alternative switch of red and green traffic light is timed,by which the interval time of switching is changeless.It is not suitable for practice.Because, when there is a big difference of east-west and north-south’s vehicle flow, if turn-on time is distributed by traffic light, the problem may appeared such as turn-on time of direction of more vehicles is lack,while one of fewer vehicles is excessive.Because of this problem, an unreasonable situation which is on one direction the traffic is jam which another direction is not jam is made.This is difference that automation control is inferior to manual control.
The system is designed to SPCE061A MCU core, through the process of SPCE061A design and the design of an external circuit to complete the system of control of all lights and time display. Simulated through the traffic light control system and control panel connections and realize the simulation of the system commissioning, commissioning results show that the system can automatically complete the simulation of traffic lights on the control board and two-color LED digital tube LED light control, able to in order to display the actual situation. Meanwhile, the control system with conventional traffic signal control than the system functions, the addition of humanized intelligent control, traffic flow through the detection of intelligent extend or shorten the access time to digital encoding of special vehicles to achieve the wireless transmission mode detection and rapid passage , at the traffic light change, have a voice prompt, voice in the broadcast when a remote query the current road conditions. The whole system can work in the normal state, working state of emergency, set between the state and check status of undisturbed switch, the system overall is good, user-friendly, high reliability.
Key words: SPCE061A SCM; Traffic Lights; Human Intelligent Control
目 录
1 绪 论 1
1.1课题背景及研究意义 1
1.2国内外研究综述 1
1.3课题的任务及要实现的主要功能 2
2 总体方案设计概述 3
2.1现代化的交通信号灯控制系统 3
2.2系统设计主要功能 3
2.3路口交通模型介绍 3
2.4交通灯控制系统的结构 4
3 单片机简介 6
3.1 单片机概述 6
3.1.1 什么是单片机 6
3.1.2单片机的基本结构及硬件特性 6
3.1.3单片机的发展史 6
3.1.4单片机的应用领域 7
3.2 SPCE061A单片机概述 8
-b..
摘 要
交通灯的智能控制是目前智能交通系统ITS领域中的一个分支。随着城市化速度的加快,机动车日益普及,人们受到越来越多的交通拥堵的困扰。而城市道路中交通拥堵有多方面的原因:车辆多,道路少;道路设置不合理;平面交通多,立体交通少;交叉路口交通灯时间设置不合理等等。而城市交通中平面交通占得比重非常大。堵车地点多为交叉路口。主要是由于车流量大,等灯时间不合理造成的。这是目前城市交通亟待解决的问题。
目前我国城市街道交叉路口的交通信号灯虽然是自动的,但是仔细观察就会发现红绿灯的交替转换是定时式的,即转换的间隔时间是固定不变的。定时式并不符合实际要求。因为,如果东西和南北两方向车流量相差很大,而信号灯还是平均分配导通时间,就会出现这样的问题:车多的方向导通时间不足,而车少的方向导通时间剩余,造成一方向车挤另一方向车松的不合理的局面,这就是机器自动控制不如人工现场指挥的差别。
本系统设计以SPCE061A单片机为核心,通过对SPCE061A的程序设计与外接电路系统的设计来完成本系统对所有信号灯的控制与时间显示功能。通过本控制系统与模拟交通灯控制板的连接,实现本系统的模拟调试,调试结果显示,本系统能够自动完成对模拟交通灯控制板上的LED数码管以及双色LED灯的控制,能够以实际情况的顺序进行显示。同时,本控制系统除具备常规交通信号灯控制系统功能外,增设了人性化智能控制功能,通过对车流量的检测智能延长或缩短通行时间、以数字编码无线传输模式实现特种车辆的检测与快速通行、在红绿灯变换时具有语音提示、在远程查询时可语音播报当前路况。整个系统可以在正常工作状态、紧急工作状态、设置状态与查询状态之间进行无扰动切换,系统整体性好,人性化强、可靠性高。
关键词: SPCE061A单片机;交通信号灯;人性化智能控制
ABSTRACT
The intelligent control of traffic light is a branch in ITS of intelligent transportation system.As the accelerating of urbanization, motor vehicle is popularized day and day, there is a puzzles to people by traffic jam which is more and more serious.But there are many reasons for jam of urban traffic: more automobiles,fewer roads,unsuitable arrangement of roads,more plane traffic fewer stereo traffic;unsuitable arrangement on time of traffic light in crossroad, etc.Plane traffic takes up a great proportion of urban traffic.The place where jam occured frequently is crossroad.This is resulted from more vehicle flow and unreasonable time of waiting traffic light.This is q problem needed to be solved in urban traffic.
Although, the control of traffic light of crossroad in urban traffic is automatic,the alternative switch of red and green traffic light is timed,by which the interval time of switching is changeless.It is not suitable for practice.Because, when there is a big difference of east-west and north-south’s vehicle flow, if turn-on time is distributed by traffic light, the problem may appeared such as turn-on time of direction of more vehicles is lack,while one of fewer vehicles is excessive.Because of this problem, an unreasonable situation which is on one direction the traffic is jam which another direction is not jam is made.This is difference that automation control is inferior to manual control.
The system is designed to SPCE061A MCU core, through the process of SPCE061A design and the design of an external circuit to complete the system of control of all lights and time display. Simulated through the traffic light control system and control panel connections and realize the simulation of the system commissioning, commissioning results show that the system can automatically complete the simulation of traffic lights on the control board and two-color LED digital tube LED light control, able to in order to display the actual situation. Meanwhile, the control system with conventional traffic signal control than the system functions, the addition of humanized intelligent control, traffic flow through the detection of intelligent extend or shorten the access time to digital encoding of special vehicles to achieve the wireless transmission mode detection and rapid passage , at the traffic light change, have a voice prompt, voice in the broadcast when a remote query the current road conditions. The whole system can work in the normal state, working state of emergency, set between the state and check status of undisturbed switch, the system overall is good, user-friendly, high reliability.
Key words: SPCE061A SCM; Traffic Lights; Human Intelligent Control
目 录
1 绪 论 1
1.1课题背景及研究意义 1
1.2国内外研究综述 1
1.3课题的任务及要实现的主要功能 2
2 总体方案设计概述 3
2.1现代化的交通信号灯控制系统 3
2.2系统设计主要功能 3
2.3路口交通模型介绍 3
2.4交通灯控制系统的结构 4
3 单片机简介 6
3.1 单片机概述 6
3.1.1 什么是单片机 6
3.1.2单片机的基本结构及硬件特性 6
3.1.3单片机的发展史 6
3.1.4单片机的应用领域 7
3.2 SPCE061A单片机概述 8
-b..