[go: up one dir, main page]

CN2459719Y - Portable intelligent traffic signal lamp controller - Google Patents

Portable intelligent traffic signal lamp controller Download PDF

Info

Publication number
CN2459719Y
CN2459719Y CN00219470.8U CN00219470U CN2459719Y CN 2459719 Y CN2459719 Y CN 2459719Y CN 00219470 U CN00219470 U CN 00219470U CN 2459719 Y CN2459719 Y CN 2459719Y
Authority
CN
China
Prior art keywords
interface circuit
serial
rxd
chip microcomputer
join
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN00219470.8U
Other languages
Chinese (zh)
Inventor
吴栋
陈家胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Normal University
Original Assignee
Nanjing Normal University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Normal University filed Critical Nanjing Normal University
Priority to CN00219470.8U priority Critical patent/CN2459719Y/en
Application granted granted Critical
Publication of CN2459719Y publication Critical patent/CN2459719Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Traffic Control Systems (AREA)

Abstract

便携式智能交通信号灯控制装置是一种交通控制管理的装置,单片机的“P10~P17”口与信号灯驱动单元相接,“P00~P07”端与接口电路的“DB0~DB7”端相连接,“P20、P26、RD、WR、ALE、REST、NTO”端分别顺序对应与接口电路的“AO、CS、RD、WR、CLK、REST、IRQ”端相接,“RXD、TXD”端与串行无线通讯相接,接口电路的“OUTAO~A4、OUTBO~B4”与段驱动相接,接口电路的“SLO~2”与译码驱动相接。接口电路的“RLO~2”端接键盘。

Figure 00219470

The portable intelligent traffic signal light control device is a device for traffic control and management. The "P10~P17" ports of the microcontroller are connected to the signal light drive unit, and the "P00~P07" ports are connected to the "DB0~DB7" ports of the interface circuit. P20, P26, RD, WR, ALE, REST, NTO" terminals are connected to the "AO, CS, RD, WR, CLK, REST, IRQ" terminals of the interface circuit in sequence, and the "RXD, TXD" terminals are connected to the serial The wireless communication is connected, the "OUTAO~A4, OUTBO~B4" of the interface circuit are connected with the segment driver, and the "SLO~2" of the interface circuit is connected with the decoding driver. "RLO~2" of the interface circuit is connected to the keyboard.

Figure 00219470

Description

便携式智能交通信号灯控制装置Portable Intelligent Traffic Light Control Device

本实用新型涉及交通控制管理的技术领域。The utility model relates to the technical field of traffic control management.

目前的交通信号灯控制装置主要应用在城市交通管理系统中,通常是固定于交叉路口,信号灯的工作时间和工作方式都是预先设定好的,不能根据实际情况进行随时更改,因而其适用场合、范围是有限的。The current traffic signal light control device is mainly used in the urban traffic management system, and is usually fixed at the intersection. The working time and working mode of the signal light are preset and cannot be changed at any time according to the actual situation. Therefore, its applicable occasions, The scope is limited.

本实用新型的目的就是根据道路施工、维修、清障和其它特殊地段或特殊情况下交通管理的需求,设计一种现场可控型、双向无线通讯、便携式交通信号灯控制装置。The purpose of this utility model is to design a field-controllable, two-way wireless communication, portable traffic signal light control device according to the needs of traffic management in road construction, maintenance, obstacle removal and other special locations or special circumstances.

本实用新型的便携式智能交通信号灯控制装置主要由信号灯驱动单元、串行无线通讯、段驱动、译码驱动、键盘、显示装置、单片机、接口电路所组成,单片机的“P10~P17”口与信号灯驱动单元相接,单片机的“P00~P07”端与接口电路的“DB0~DB7”端相连接,单片机的“P20、P26、RD、WR、ALE、REST、NTO”端分别顺序对应与接口电路的“AO、CS、RD、WR、CLK、REST、IRQ”端相接,单片机的“RXD、TXD”端与串行无线通讯相接,接口电路的“OUTAO~A4、OUTBO~B4”与段驱动相接,接口电路的“SLO~2”与译码驱动相接。接口电路的“RLO~2”端接键盘,接口电路通过段驱动74LS541和位驱动74LS365去推动4只共阴极七段LED数码管。串行无线通讯由JF820C/JF821C无线数据传输组件构成,两端各有一组,串行通讯由MAX232驱动,它与89C51的串行口TXD/RXD连接在一起,MAX232的串行输出口与JF820C的RXD、LE、BUST脚相连接,MAX232的串行输入口接到JF821C的TXD、RXD、LE、IRQ脚。The portable intelligent traffic signal light control device of the utility model is mainly composed of a signal light drive unit, serial wireless communication, segment drive, decoding drive, keyboard, display device, single-chip microcomputer, and interface circuit. The drive unit is connected, the "P00~P07" end of the single-chip microcomputer is connected with the "DB0~DB7" end of the interface circuit, and the "P20, P26, RD, WR, ALE, REST, NTO" ends of the single-chip microcomputer respectively correspond to the interface circuit in sequence The "AO, CS, RD, WR, CLK, REST, IRQ" terminals of the microcontroller are connected, the "RXD, TXD" terminals of the single-chip microcomputer are connected with the serial wireless communication, and the "OUTAO~A4, OUTBO~B4" of the interface circuit are connected with the segment The drive is connected, and the "SLO~2" of the interface circuit is connected with the decoding drive. The "RLO~2" terminal of the interface circuit is connected to the keyboard, and the interface circuit drives 4 common cathode seven-segment LED digital tubes through the segment driver 74LS541 and the bit driver 74LS365. The serial wireless communication is composed of JF820C/JF821C wireless data transmission components. There is one set at each end. The serial communication is driven by MAX232, which is connected with the serial port TXD/RXD of 89C51. The serial output port of MAX232 is connected with the RXD, LE, BUST pins are connected, and the serial input port of MAX232 is connected to TXD, RXD, LE, IRQ pins of JF821C.

本实用新型从总体上讲是通过单片机At89C51和8279组成该装置的主要部件,根据具体情况设定信号灯的工作时间和工作方式,由单片机完成编程,控制信号灯。同时可通过串行通讯无线传输到另一信号灯控制装置,以便从道路两端控制交通。Generally speaking, the utility model is composed of single-chip microcomputers At89C51 and 8279 to form the main parts of the device, and the working time and working mode of the signal lights are set according to specific conditions, and the single-chip microcomputer completes the programming and controls the signal lights. At the same time, it can be wirelessly transmitted to another signal light control device through serial communication, so as to control traffic from both ends of the road.

本实用新型的优点在于:采用本专利技术,可以对信号灯的工作时间进行即时修改,并有多种式作方式(如单向通行、双向通行、急车通行、禁行等)可供选择,参数输入后由微处理器完成内部编程,并通过无线通讯对整个系统进行协调然后自动运行。由于本装置采用了微处理器单元,故核心控制部件性能稳定、体积小、成本低,易于使用,加上外围辅助设施如机械结构、供电装置等即可运行,可产生很高的经济效益和社会效益。The utility model has the advantages that: by adopting the patented technology, the working hours of the signal lights can be modified immediately, and there are many modes of operation (such as one-way traffic, two-way traffic, express traffic, forbidden traffic, etc.) to choose from, After the parameters are input, the microprocessor completes the internal programming, and coordinates the whole system through wireless communication and then runs automatically. Because the device uses a microprocessor unit, the core control components are stable in performance, small in size, low in cost, and easy to use, and can be operated with peripheral auxiliary facilities such as mechanical structures and power supply devices, which can generate high economic benefits and social benefits.

图1是本实用新型的电路结构框图。其中包括信号灯驱动单元1、串行无线通讯2、单片机U1、接口电路U2、段驱动3、译码驱动4、键盘5、显示装置6。Fig. 1 is a block diagram of the circuit structure of the utility model. It includes a signal lamp drive unit 1, a serial wireless communication 2, a single chip microcomputer U1, an interface circuit U2, a segment drive 3, a decoding drive 4, a keyboard 5, and a display device 6.

图2是本实用新型的电路原理图。Fig. 2 is the schematic circuit diagram of the utility model.

本实用新型的实施方案如下:Embodiments of the present utility model are as follows:

该装置主要由信号灯驱动单元1、串行无线通讯2、单片机U1、接口电路U2、段驱动3、译码驱动4、键盘5、显示装置6所组成,其中以单片机U1和接口电路U2作为核心部件单片机U1的型号为“AT89C51”,接口电路U2的型号为“8279”。装置利用AT89C51内部256字节的RAM和4K字节的EPROM作为数据和程序代码存贮区,并由U2控制按键输入和时间显示。图1中给出的是将U2作为U1的数据存储器的一种接口方式,以P20作为命令字或状态字与数据字的译码端,P20为高电平时写入或读出命令或状态字,P20为低电平时写入或读出数据,U2通过段驱动3中的74LS541和74LS365去推动4只共阴极七段LED数码管进行时间显示,不仅可以显示重新设定的工作时间和工作方式,而且在运行过程中每一秒显示一个数值,以表明某一信号灯剩余时间的秒数。无线通讯设备由JF820C/JF821C无线数据传输组件构成,两端各有一组,其数据的输入输出采用串行通讯,数据传输波特率为1200bps。串行无线通讯2由MAX232驱动,它与U289C51串行口TXD/RXD连接在一起,MAX232的串行输出口与JF820C的RXD、LE、BUSY脚相连接,MAX232的串行输入口接到JF821C的TXD、RXD、LE、IRQ脚。信号灯的具体控制通过89C51的P1口用74LS541驱动功率放大器进行。The device is mainly composed of signal light drive unit 1, serial wireless communication 2, single-chip microcomputer U1, interface circuit U2, segment drive 3, decoding drive 4, keyboard 5, and display device 6, among which the single-chip microcomputer U1 and interface circuit U2 are the core The model of component microcontroller U1 is "AT89C51", and the model of interface circuit U2 is "8279". The device uses 256 bytes of RAM and 4K bytes of EPROM inside AT89C51 as data and program code storage areas, and U2 controls key input and time display. Figure 1 shows an interface method using U2 as the data memory of U1, using P20 as the decoding end of the command word or status word and data word, and writing or reading the command or status word when P20 is at a high level , when P20 is at low level, data is written or read, and U2 uses 74LS541 and 74LS365 in segment driver 3 to drive 4 common-cathode seven-segment LED digital tubes for time display, which can not only display the reset working time and working mode , and a value is displayed every second during operation to indicate the number of seconds remaining for a signal light. The wireless communication equipment is composed of JF820C/JF821C wireless data transmission components. There is one set at each end. The data input and output adopts serial communication, and the data transmission baud rate is 1200bps. Serial wireless communication 2 is driven by MAX232, which is connected with U289C51 serial port TXD/RXD, the serial output port of MAX232 is connected with RXD, LE, BUSY pins of JF820C, and the serial input port of MAX232 is connected with JF821C TXD, RXD, LE, IRQ pins. The specific control of the signal lamp is carried out by driving the power amplifier with 74LS541 through the P1 port of 89C51.

装置设计了12个按键,实际只使用了8个按键,其余4个按键可作为功能扩展用。图1中SL0~2为扫描线,经3~8译码器(74LS138)与键盘矩阵的列线相连(仅用了其中的四根),用于扫描键盘并作四位七段LED显示器的地址译码;RL0~2为返回线。8个按键的功能分别为:1.重新设置键(Reset)。用来确定是否修改红绿灯时间以及用于系统复原;2.红绿灯选择键(Red/Grn)。当确定要修改时,以选择灯的类型,连续按键就可在红绿灯之间切换;3.分钟和秒钟选择键(Min/Sec)。确定输入时间的权重。4.数位选择键(Shift)。连续按键就可以从左到右确定要修改的时间位,此时该位数码管的显示以闪烁的形式出现,便于识别。5.数值选择键(Num)。连续按键就可以使数值从0到9循环变化。6.放弃输入键(Abort)。放弃当前修改的内容,使用原来设定的时间或系统的默认值。7.确认键(Return)。相当于回车键,使系统按当前修改后的值运行,并将本地修改好的时间通过无线串行通讯的方式传送到另一端的信号灯控制器,以保证系统同步运行。8.急车通行键(Alert)。当有急车通过或出现紧急情况时,按下此键后,A、B两端均亮红灯。The device is designed with 12 buttons, but only 8 buttons are actually used, and the remaining 4 buttons can be used for function expansion. In Figure 1, SL0~2 are scanning lines, which are connected to the column lines of the keyboard matrix through 3~8 decoders (74LS138) (only four of them are used), and are used to scan the keyboard and act as a four-digit seven-segment LED display. Address decoding; RL0 ~ 2 for the return line. The functions of the 8 buttons are: 1. Reset button (Reset). Used to determine whether to modify the traffic light time and for system recovery; 2. Traffic light selection key (Red/Grn). When it is determined to modify, to select the type of light, the continuous key can switch between traffic lights; 3. Minute and second selection keys (Min/Sec). Determines the weight of the input time. 4. Digital selection key (Shift). Press the key continuously to determine the time position to be modified from left to right. At this time, the display of the digital tube of this position will appear in the form of flickering, which is easy to identify. 5. Numerical selection key (Num). Continuously press the key to change the value from 0 to 9 in a cycle. 6. Abort the input key (Abort). Abandon the currently modified content and use the originally set time or the default value of the system. 7. Confirm key (Return). Equivalent to the Enter key, the system runs according to the current modified value, and the locally modified time is transmitted to the signal light controller at the other end through wireless serial communication to ensure that the system runs synchronously. 8. Express key (Alert). When there is an urgent vehicle passing by or an emergency occurs, after pressing this button, the red lights at both ends of A and B will be on.

装置的程序设计包括五个模块:主控模块、信号灯控制模块、显示模块、时间处理模块和键盘处理模块。The program design of the device includes five modules: main control module, signal light control module, display module, time processing module and keyboard processing module.

(1)主控模块。当系统上电后,首先对8279进行初始化,设定键盘工作方式为编码扫描键盘、双键互锁方式,显示器置为4字符左端进入方式,并对8279时钟编程,清除显示RAM、FIFO/RAM内容;然后对存贮信号灯工作时间的RAM区进行默认值预置;最后系统按默认值循环运行直至键盘中断。(1) Main control module. When the system is powered on, first initialize the 8279, set the working mode of the keyboard to code scanning keyboard, double-key interlocking mode, set the display to the left end entry mode of 4 characters, program the 8279 clock, and clear the display RAM, FIFO/RAM content; then preset the default value in the RAM area for storing the working time of the semaphore; finally, the system runs in a cycle until the keyboard is interrupted by the default value.

(2)信号灯控制模块。把A、B端信号灯的动作过程近似看成是一个相反顺序动作过程,如图6所示。本模块可以作为主模块调用的一个子模块。(2) Signal light control module. The action process of the A and B end signal lamps is approximately regarded as a reverse order action process, as shown in Figure 6. This module can be used as a submodule called by the main module.

(3)显示模块。用于对A、B两端红、绿、黄灯接通的时间进行倒计时显示以及键盘输入时的位闪烁显示,由于采用汇编语言进行十进制显示,所以在本模块中含有二进制码和BCD码之间的转换。(3) Display module. It is used to count down the time when the red, green, and yellow lights at both ends of A and B are turned on, and to display the digits flickering during keyboard input. Since assembly language is used for decimal display, this module contains binary codes and BCD codes. conversion between.

(4)时间处理模块。有1秒延时模块、减1秒模块以及时间重新装入循环模块,并采用定时中断模式。(4) Time processing module. There are 1 second delay module, minus 1 second module and time reloading cycle module, and adopt timing interrupt mode.

(5)键盘处理模块。对于交通信号灯控制器这一种实时性很强的仪器而言,适合采用中断方式。一旦发现按键中断后,通常应将AB两端信号灯处理成红灯状态,当输入的红绿灯工作时间得到确认后,按当前值重新运行,而不回到程序中断点恢复原来的数据。由于中断不返回,因此必须在RAM内开辟一些单元作标志,以记住以前按键的情况,供主控程序作出正确的判断,把控制引导到正确的方向。(5) Keyboard processing module. For the traffic signal light controller, which is a kind of real-time instrument, it is suitable to adopt the interrupt method. Once it is found that the key is interrupted, the signal lights at both ends of AB should be processed into a red light state, and when the input working time of the traffic light is confirmed, it will restart according to the current value without returning to the point where the program was interrupted to restore the original data. Because the interrupt does not return, it is necessary to open up some units in the RAM as signs to remember the previous keystrokes for the main control program to make correct judgments and guide the control to the correct direction.

Claims (2)

1. portable intelligent traffic signals lamp control device, import by button, time showing, signal lamp control, wireless serial communication four major parts are formed, " P10~P17 " mouth that it is characterized in that single-chip microcomputer (U1) joins with signal lamp driver element (1), " P00~P07 " end of single-chip microcomputer (U1) is connected with " DB0~DB7 " end of interface circuit (U2), " the P20; P26; RD; WR; ALE; REST of single-chip microcomputer (U1), NTO " the end corresponding " AO with interface circuit (U2) of order respectively, CS, RD, WR, CLK, REST, IRQ " hold and join; the " RXD of single-chip microcomputer (U1), TXD " hold with wireless series communication (2) and join; the " OUTAO~A4 of interface circuit (U2), OUTBO~B4 " join with section driving (3); " SLO~2 " of interface circuit (U2) drive (4) with decoding and join " RLO~2 " the termination keyboards (5) of interface circuit (U2).
2. portable intelligent traffic signals lamp control device according to claim 1, it is characterized in that wireless series communication (2) is made of the JF820C/JF821C wireless data transmission component, two ends respectively have one group, serial communication is driven by MAX232, the serial port TXD/RXD of it and 89C51 links together, the serial delivery outlet of MAX232 is connected with RXD, the LE of JF820C, BUST pin, and TXD, RXD, LE, the IRQ pin of JF821C received in the serial input port of MAX232.
CN00219470.8U 2000-02-25 2000-02-25 Portable intelligent traffic signal lamp controller Expired - Fee Related CN2459719Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN00219470.8U CN2459719Y (en) 2000-02-25 2000-02-25 Portable intelligent traffic signal lamp controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN00219470.8U CN2459719Y (en) 2000-02-25 2000-02-25 Portable intelligent traffic signal lamp controller

Publications (1)

Publication Number Publication Date
CN2459719Y true CN2459719Y (en) 2001-11-14

Family

ID=33584655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN00219470.8U Expired - Fee Related CN2459719Y (en) 2000-02-25 2000-02-25 Portable intelligent traffic signal lamp controller

Country Status (1)

Country Link
CN (1) CN2459719Y (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1702699B (en) * 2004-05-24 2010-10-20 江苏省帕瓦电力技术有限公司 Intelligent traffic signal management system and management method thereof
CN104778916A (en) * 2014-12-02 2015-07-15 深圳市视维科技有限公司 All-character LED nixie tube display driving circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1702699B (en) * 2004-05-24 2010-10-20 江苏省帕瓦电力技术有限公司 Intelligent traffic signal management system and management method thereof
CN104778916A (en) * 2014-12-02 2015-07-15 深圳市视维科技有限公司 All-character LED nixie tube display driving circuit

Similar Documents

Publication Publication Date Title
CN102411369B (en) Automatic guided vehicle (AGV) setting device possessing wireless communication function
CN201994040U (en) Lattice LED (light-emitting diode) display system
CN2459719Y (en) Portable intelligent traffic signal lamp controller
CN201156411Y (en) LED nixietube display controller
CN201190121Y (en) Water-controlled sterilizing apparatus of water purifier
CN100533424C (en) Keyboard display module with single-wire transmission interface and single-byte operation
CN110136621A (en) The display of reduction central processing unit mouth line resource and key scanning method and device
CN112150824A (en) An intelligent traffic light control system, method and intelligent terminal
CN101264838A (en) Floor selection device in elevator car
CN108834255A (en) A new multifunctional energy-saving lighting system and design method
CN211063822U (en) Museum group extensible multi-path L ED lamp display system based on single chip microcomputer
CN200979768Y (en) A teaching experiment board device of the traffic signal controlling based on the embedded technology
CN2405289Y (en) Digital tube displaying device
CN107346609A (en) A kind of cell phone intelligent sensing identification traffic signal system based on Bluetooth technology
CN203102598U (en) A Traffic Control Device Based on SCM
CN111751443A (en) A Development System of Magnetic Particle Flaw Detector
CN2218378Y (en) Multichannel and multi-character one-chip computer timer
CN110148370A (en) A kind of novel scanning circuit
CN206024208U (en) A kind of family's lamp intelligent switch device based on Internet of Things
CN207976720U (en) A kind of intelligent LED electronic clock based on auspicious Sa MCU
CN214586431U (en) An intelligent timer based on single chip microcomputer
CN222705162U (en) A low-power multi-digit digital tube display circuit with buttons
CN2518177Y (en) Dispatching information electronic resetting machine for coach station
CN2450019Y (en) Indoor controller for electronic command for bus stop or parking lot
CN111627374A (en) Multimode traffic warning information LED display screen control device

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee