下载后可任意编辑基于单片机模糊控制交通信号灯摘要本系统采纳 MSC-51 系列单片机和可编程并行 I/O 接口芯片 8255A 为中心器件来设计交通灯控制器,进行交通路口的管理。它用简单的硬件电路模拟交通信号灯的交替变换,实现红绿灯循环点亮,用 LED 数码管作为倒计时指示。本次设计中增加了车流量检测电路,运用模糊控制算法来自动调整红绿灯时间,实时的控制当前交通灯时间使 LED 显示器进行倒计时工作并与状态灯保持同步,在保持交通安全的同时最大限度的提高交通能顺畅交替运行,大大提高交通运输的运行效率,还可以减少交通事故,节约能源消耗,具有巨大的现实意义。关键词:路口管理; 模糊控制; 51 单片机;车流量检测; 交通灯 AbstractThis system uses MSC-51 series microcontroller and 8255A to design the traffic controller to manage the traffic road. It uses simple hardware circuit to simulate the alternative transformation of the traffic lights and to realize the circular illumination of the lights. We use the LED as the countdown instructions. In this project, we add the traffic detection circuit, which uses the fuzzy control algorithm to change the time of the traffic lights automatically to control the traffic lights time. This design can make sure that the LED keeps the pace with the state lamp. What is more, while it can keep the traffic safe, at the same time, it can make the traffic running smoothly, operation efficient, and also can reduce the number of traffic accidents, save energy consumption. Above all, this system has great realistic signification. Keywords: Intersection management; Fuzzy logic control; MCU51; traffic detection ; Traffic light一、绪论1.1 交通灯讨论的背景和意义 城市交通控制系统是用于城市交通数据检测、交通信号灯控制与交通疏导的计算机综合管理系统,它是现代城市交通监控指挥系统中最重要的组成部分。智能化和集成化是城市交通信号控制系统的进展趋势和讨论前沿,而针对交通系统规模复杂性特征的控制结构和针对城市交通瓶颈问题并代表智...