毕业论文 基于单片机的交通灯模糊控制器的设计.doc

约43页DOC格式手机打开展开

毕业论文 基于单片机的交通灯模糊控制器的设计,内容摘要:针对当前城市交通系统中的被控对象具有较大的随机性和偶然性问题,设计了一个交通灯模糊控制系统,该系统以at89s52单片机为控制核心,通过引入不需要建立精确数学模型的模糊控制,根据十字路口车辆计数传感器测得车辆的多少,自适应地确定各路口红、绿灯延长时间。实验表明,该系统能够较好地解决交通流量不均衡、不稳定所带来...
编号:30-201910大小:622.50K
分类: 论文>通信/电子论文

内容介绍

此文档由会员 ljjwl8321 发布

内容摘要:针对当前城市交通系统中的被控对象具有较大的随机性和偶然性问题,设计了一个交通灯模糊控制系统,该系统以AT89S52单片机为控制核心,通过引入不需要建立精确数学模型的模糊控制,根据十字路口车辆计数传感器测得车辆的多少,自适应地确定各路口红、绿灯延长时间。实验表明,该系统能够较好地解决交通流量不均衡、不稳定所带来的车辆延误等问题,提高了道路的通行能力。
关键词:交通灯;模糊控制器;车辆计数传感器;车流量

Abstract: (参照中文摘要进行修改)With the development of economy, the quantity of automobile grows sharply, the urban road crowds day after day, the pounding of traffic has become an international question. Usually in the situation, the street-traffic control lights controller has the flaw: When the traffic lane allows to pass the vehicles, the time setting is the same and is fixed, the intersection presents the main traffic lane vehicles to be many frequently, allows to pass the time to be short, the stream of vehicles is unable in the scheduled time to pass, but the vice-traffic lane vehicles are few, allows to pass the time obviously long and so on. Therefore, the design reliable, safe, the convenient multi-purpose traffic light control system has the enormous necessity.
The traffic signal control generally established the fixed time to control the traffic light, but the fuzzy control transportation was summarizes traffic police to direct the traffic the experience, realized the real-time control traffic light through the monolithic integrated circuit with the software. The fuzzy control has the very good application prospect, the fuzzy control is not only suitable for the small scale linearity single variable system, moreover to large-scale, the misalignment complicated system expands gradually, the fuzzy control is suitable specially for the uncertainty complex object model. The fuzzy transportation controller's research and the application have the important status and the significance in the modern traffic control domain.
Has the big randomness and fortuitousness in view of the current municipal transportation system's in controlled plant, introduced has not needed to establish the precise mathematical model the fuzzy control. Obtains vehicles' how many according to the intersection vehicles counting sensor, determines each group lipstick, the green light extension of time by the fuzzy controller. Has solved questions well and so on vehicles delay which the traffic flow imbalanced, does not stabilize brings, sharpened path's traveling capability.

Key words: Traffic light; Fuzzy control; Vehicles counting sensor; Traffic flow magintude

目 录
内容摘要 I
关键词 I
ABSTRACT II
KEY WORDS III
1 引言 1
1.1 研究现状与发展前景 1
1.2 研究意义和内容 1
2 模糊控制器设计 3
2.1 模糊控制理论简介 3
2.2 模糊控制器的基本结构和组成 3
2.3 模糊控制器的设计 4
2.3.1 输入、输出及其模糊化 4
2.3.2 模糊控制规则 5
2.3.3 模糊控制矩阵计算 6
2.3.4 模糊量精确化 6
3 系统硬件设计 7
3.1总体方案设计 7
3.2单片机控制器的设计 7
3.3 键盘与显示电路设计 11
3.4 车辆计数传感器的选择 15
3.5 红绿灯电路 17
4 软件设计 19
4.1 主程序设计 19
4.2 T0中断程序设计 19
4.3 键盘中断程序设计 21
4.4 显示子程序设计 21
4.5 模糊推理查表子程序设计 22
4.6 车流量检测处理子程序设计 23
5 系统调试 25
5.1 硬件调试 25
5.2 软硬件联调 25
结论与展望 26
参考文献 27
附录一 原理图 29
附录二 主要源程序 30
致谢 37