摘要
随着时代的发展,人们生活质量得到了很大的提升,人们更加注重绿色出行,有轨电车应运而生。有轨电车的使用方便了人们的出行,但对于其他车辆的正常行驶却造成了不小影响。不同的交通工具应有针对于其的独特的交通规则,而如何在实际行驶过程中使有轨电车与其他交通工具相互协调便是一个新问题。本文通过对现存有轨电车交通灯系统不足的分析,结合生活中道路实际状况,提出运用车辆位置检测系统检测有轨电车靠近情况,并通过单片机的中断系统控制交通灯不同工作方式的改进方案。同时我们也将改进方案通过模拟电路进行仿真,运用单片机外部中断实现交通灯两种工作方式的切换,使之能够应用于不同交通状况下工作需求,使有轨电车与其他交通工具“和谐”运行。
With the development of the times,people’s quality of life has been greatly improved;people pay more attention to green travel,and tram came into being.The use of trams is convenient for people to travel,but it has a great impact on the normal running of other vehicles.Different means of transport should have their own unique traffic rules,and how to coordinate trams with other means of transport in the actual driving process is a new problem.Based on the analysis of the shortcomings of the existing tram traffic light system and the actual road conditions in our life,this paper puts forward an improved scheme of using the vehicle position detection system to detect the approaching situation of the tram,and controlling the different working modes of the traffic light through the interruption system of the single chip computer.At the same time,we will also simulate the improved scheme by analog circuit,and use the external interruption of single-chip computer to realize the switch of two working modes of traffic lights,so that it can be applied to different traffic conditions,so that the tram and other vehicles can run in harmony.
出处
《计算机科学与应用》
2019年第7期1387-1397,共11页
Computer Science and Application