1、 1 摘 要 本系统主要介绍了以 89C51 单片机为核心的新交通控制控制系统的设计。这个系 统采用手动控制,定时控制,实时控制。实时控制是交通控制中的一种较新颖且有效的 方法,该方法应用最优控制理论中的控制思想,实时地控制当前绿灯时间,在保证交通 安全的前提下最大限度地提高了交通效率。 系统主要包括软件和硬件两个部分。硬件部分:CPU 主控部分电路,交通灯信号 的输出和驱动电路,车辆检测出入(包括违规车辆检测) ,时钟电路。CPU 是整个交通 灯信号控制机的核心部件,通过它来控制个电路以实现信号机的各种功能。交通信号输 出电路是把主机的交通灯控制信号送驱动器,控制交通灯的状态。车辆检测输入是
2、将有 无车辆和违规车辆的信号送入主机,产生相应的中断处理。时钟电路是为了显示车辆通 行的剩余时间。软件部分主要是协助硬件完成各项功能。 关键词: 89C51,定时控制,实时控制,遥控, 基于单片机的智能交通灯控制 Intelligent Traffic Light Control ABSTRACT The system has introduced that new traffic centering on 89C51 monolithic machine controls systematic design mainly. This system uses the hand control,
3、 timed control, wireless remote control and real-time control. The real-time control is in the transportation control one kind more novel also an effective method, in this method application optimum control theory control thought, the tendency, real-time controls the current green light time, maximu
4、m limit enhanced the transportation efficiency in under the guarantee traffic safety premise. The system mainly includes software and the hardware two parts. Hardware partial: The CPU host controls the partial electric circuits, the traffic light signal output and the actuation electric circuit, the
5、 vehicles examination difference (including contrary vehicles examination), keyboard and display circuit, clock electric circuit, communication circuit, electronic police system. CPU is the entire traffic light signal control machine core part, controls an electric circuit through it to realize sema
6、phore each kind of function. The traffic signal output circuit is delivers the main engine traffic light control signal the driver, controls the traffic light the condition. Whether there is the vehicles examination input sends in the vehicles and the contrary vehicles signal the main engine, has the corresponding interrupt processing. The clock electric circuit is for demonstrate the vehicles general surplus time. The communication is the main engine and the central supervisory system, the stre