智能交通灯的研究对我国的道路安全、城市规划、节能减排等具有非常重要的意义.本研究以STC89C52作为控制芯片,以九点模糊为控制算法,设计一个智能交通灯控制系统.外围电路包括红外避障电路、信号采样电路、语音计数电路、A/D转换电路,当监控到闯红灯现象时给出语音安全提示并触发计数电路计数.系统采用九点模糊控制算法对各个方向的车流量的比值进行比较来实现对红绿灯时间的自适应调整.整个系统控制灵活便捷,能达到"忙道长通,闲道短通"的目的,具有良好的实时性.
The study of the intelligent traffic lights is of very important significance on our country's road safety,city planning,energy saving and emission reduction.An intelligent traffic light control system has been designed in this paper,with the STC89C52 as control chip and with fuzzy algorithm as control algorithm.Meanwhile,the system is supported by necessary peripheral circuits including infrared obstacle avoidance module,signal sampling circuit,counting circuit,A/D conversion circuit.By monitoring to red light phenomenon,it gives the voice prompt and triggers the counting circuit to inform the drivers of the current road conditions and road safety.In addition,this intelligent traffic light control system has the advantages of the fuzzy control algorithm to realize adaptive adjustment of traffic light time by comparison of the ratio of traffic in all directions.The whole system can achieve the purpose of"busy long pass,idle short pass"which has the feature of flexibility and simplicity and has good real-time performance.