CN106504546A - A kind of traffic lights with good stability direct traffic system - Google Patents

A kind of traffic lights with good stability direct traffic system Download PDF

Info

Publication number
CN106504546A
CN106504546A CN201610913895.7A CN201610913895A CN106504546A CN 106504546 A CN106504546 A CN 106504546A CN 201610913895 A CN201610913895 A CN 201610913895A CN 106504546 A CN106504546 A CN 106504546A
Authority
CN
China
Prior art keywords
wire
seconds
time
input
chip microcomputers
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.)
Pending
Application number
CN201610913895.7A
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.)
Hunan University of Arts and Science
Original Assignee
Hunan University of Arts and Science
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 Hunan University of Arts and Science filed Critical Hunan University of Arts and Science
Priority to CN201610913895.7A priority Critical patent/CN106504546A/en
Publication of CN106504546A publication Critical patent/CN106504546A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/07Controlling traffic signals

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)

Abstract

A kind of traffic lights with good stability direct traffic system, including:Hardware, software and supporting power supply, the outfan for wherein sending out plate is connected with the input of CPU single-chip microcomputers through wire, CPU single-chip microcomputers are operated under the support of arduino IDE softwares, the outfan of CPU single-chip microcomputers is connected with the input of decoder by interface, decoder carries out binary decoding, with 60 seconds as a cycle, make which move in circles, the decoder translates 0 30 seconds, 31 35 seconds, 36 60 seconds three groups of signals, the green LED of reddish yellow is conveyed to by wire respectively, simultaneously also by wire, nor gate is connected with the input of decelerator, the outfan of decelerator is connected with digital display tube by wire, the remaining time of bright light in order to show, the pedestrian or vehicle for reminding waiting notes.The system low cost, flexible operation, reliability are high, meet the demand of " traffic lights " real-time update so that traffic lights control is more modernized and specialized.

Description

A kind of traffic lights with good stability direct traffic system
Technical field
The present invention relates to a kind of traffic guidance system, specifically a kind of traffic lights with good stability direct traffic System.
Background technology
Traditional urban traffic intersection controlling system of traffic light be mostly by relay or logic circuit control system or by Digital circuit, or plc(Programmable Logic Controller)Software is answered through popularization in recent years realized With current plc has become the main flow of digital control circuit, but plc's is expensive, and build is also larger.Therefore this unit is used The traffic light control system that part is made, circuit are complicated, and stability is poor, high cost, and are not suitable for changing upgrading in real time.With society Meeting expanding economy, can not increasingly meet growing traffic pressure, it is therefore necessary to seek a kind of new method to replace This complicated and control system of job insecurity.
Content of the invention
For solving the drawbacks described above of existing urban traffic intersection controlling system of traffic light, the present invention provides a kind of with good The traffic lights of stability direct traffic system, in order to simplify circuit, improve the stability of system work, reduce production cost, side Just timely replacement upgrading, alleviates growing traffic congestion pressure.
For realizing that its goal of the invention, the technical solution used in the present invention be:In the development platform of arduino, utilize The regulatable softwares of arduino, configure corresponding hardware, develop with opening architecture, easy realization, easy care, have The traffic lights of good stability direct traffic system:City traffic signal lamp is made, is required according to different road conditions, at any time modification control Processing procedure sequence, to change working time and the working condition of each signal lighties;
The arduino, is a software and hardware platform based on open source, and master control function is felt by related sensor Know environment, feed back and affect environment by controlling light, motor and corresponding device.Microcontroller on panel can lead to The programming language for crossing Arduino carrys out coding, is compiled into binary file, includes into microcontroller.Programming to Arduino Be using Arduino programming languages (based on Wiring) and Arduino development environments (based on Processing) come Realize.Based on the project of Arduino, can only include Arduino, it is also possible to comprising Arduino and some other on PC The software of operation, is communicated (such as Flash, Processing, MaxMSP) realizing between them.Build and exploitation The simplel/o interface versions of source code, with similar java, the processing/wiring development environments of C language:
The controlling system of traffic light based on arduino development boards, including:Hardware, software and supporting power supply, the hardware Have:Development board, CPU single-chip microcomputers, interface, decoder, display lamp and charactron;The software for adopting for:arduino IDE;Wherein, Development board in hardware is that described CPU single-chip microcomputers are models for the circuit board for doing circuit connection and arduino The main control singlechip of atmega328, the interface is using Uart serial interfaces and USB interface;The display lamp adopts LED, Each intersection is respectively equipped with three display lamps of red, yellow and green three kinds of colors, and power supply adopts direct current 5v power supplys, USB interface Or outside 9VDC, support that ISP burns online, new firmware burning Avr chips can be passed through serial ports or USB to Rs232 lines update firmware.
During work, power supply is directly accessed from development board, the program that prior burning is required, is turned on the electricity, by SR, number Code pipe starts timing, and with 60s as boundary, red green two light emitting diodes light on and off successively move in circles.System can just be completed accordingly Task:
Compared with prior art, the present invention has following features and progress:
1. the system completes city by corresponding sensor and traffic lights using arduino softwares on existing computer Commander's task of traffic intersection traffic lights control;Compare with traditional traffic-light command system, highlightedly embody traffic lights control The summary of system and operableization, reduce cost, increased motility, meet " traffic lights " real-time update in practice Demand, so that traffic lights control more modernization and specialization;
2., compared with traditional relay or logic circuit control system, control system has higher reliability, motility and warp Ji practicality.
Description of the drawings
Fig. 1 is the structural representation block diagram of the present invention.
In figure:1st, development board, 2, CPU, 3, interface, 4, decoder, 5, crossing direction encoding block, 6, green time with non- Door, 7, yellow time NAND gate, 8, red time NAND gate, 9, the first triggers of T1,10, the second triggers of T2,11, T3 the 3rd Trigger, 12, red colored lamp D red, 13, amber light D yellow, 14, green light D green, 15, nor gate, 16, decelerator, 17, digital-scroll technique Pipe.
Specific embodiment
Referring to accompanying drawing, the controlling system of traffic light based on Arduino development boards that designs, including:Hardware, software and match somebody with somebody The power supply of set, the hardware have:Development board 1, CPU single-chip microcomputers 2, interface 3, decoder 4, display lamp and charactron 17;Using Software is:arduino IDE;Wherein, the development board 1 in hardware is the circuit board for doing circuit connection and arduino, described CPU single-chip microcomputers be model atmega328 main control singlechip, the interface 3 is using Uart serial interfaces and USB interface; The display lamp adopts LED, and each intersection is respectively equipped with three display lamps of red, yellow and green three kinds of colors, and power supply is adopted With direct current 5v power supplys, using USB interface or outside 9VDC, support that ISP burns online, can be by new firmware burning Avr chips, can To update firmware by serial ports or USB to rs232 lines.
Specifically annexation is:Development board 1 commands the system as operator's panel for starting, changing or stop Headquarter, the outfan of the development board are connected with the input of CPU single-chip microcomputers 2 through wire, and CPU single-chip microcomputers 2 are in arduino IDE Under software support, it is operated, is mainly used in time counting, the outfan of CPU single-chip microcomputers 2 is by 232 interfaces 3 and decoder 4 Input be connected, decoder carries out binary decoding, with 60 seconds as a cycle, notifies CPU by wire when writing 60 seconds all over Single-chip microcomputer 2, restarts to count so as to move in circles, its parameter and its startup, stopping by manually being realized by development board 1, The decoder mainly translates three groups of signals, is conveyed to the crossing direction encoding block 5 of crossroad four direction respectively by wire, The encoding block in each direction produces green time NAND gate 6, yellow time NAND gate 7 and red time NAND gate 8 respectively, wherein 8 control time of red time NAND gate is the 0-30 seconds, produces a negative signal and the first triggers of T1 9 are set to " 1 " i.e. high level, Other two triggers are set to " 0 " i.e. low level simultaneously;7 control time of yellow time NAND gate is the 31-35 seconds, produces one The second triggers of T2 10 are set to " 1 " i.e. high level by negative signal, while other two triggers are set to " 0 " i.e. low level;Green 6 control time of lamp time NAND gate is the 36-60 seconds, produces a negative signal and the 3rd triggers 11 of T3 are set to " 1 " i.e. high level, Other two triggers are set to " 0 " i.e. low level simultaneously;" 1 " end of each trigger be high level end respectively by wire with Red colored lamp D is red 12, the high level end of amber light D Huangs 13, green light D green 14 is connected so as to shinny, while also by wire and one The input of individual nor gate 15 is connected;Wherein:" 1 " of the first triggers of T1 9 i.e. high level end is by wire and red colored lamp D red 12 Input be connected, while an input of also AND OR NOT gate 15 is connected, " 1 " the i.e. high level end of the second triggers of T2 10 is logical The input that wire is crossed with amber light D Huangs 13 is connected, while another input of also AND OR NOT gate 15 is connected;T3 the 3rd is triggered " 1 " of device 11 i.e. high level end is connected by the input of wire green with green light D 14, while going back the 3rd of AND OR NOT gate 15 Input is connected;As long as nor gate 15 is that have a high level input, outfan produce a low level negative signal, should Negative signal is connected via wires to the input of decelerator 16, starts and for the time of institute's bright light to reduce to " 0 " from height subtract " 1 " per second, with When decelerator 16 state be connected with digital display tube 17 by wire, the remaining time of bright light in order to show, remind waiting Pedestrian or vehicle note.
During work, power supply is directly accessed from development board, the program that prior burning is required, is turned on the electricity, by SR, number Code pipe starts timing, and with 60s as boundary, three light emitting LED lamp light on and off successively of red, yellow, and green move in circles.System can just be completed Corresponding task.Note following item simultaneously:
(1) stability and real-time of circuit are noted:Safely controllable using arduino development board control circuits, whether software is accurate Really system is able to the premise that runs, and the software of mistake can cause whole circuit realize, so that the work of system cannot Carry out.The input source of software burning is write by oneself.Hand-coding will have fault-tolerant by the schedule system on system interface Property, and operator will be carried out with the training of system;
(2) note the safety of circuit:The system is board design, by simulation test, in the case of normal protection circuit, no Can cause danger, and there is certain safety precautions due to integrated plate face itself, generally speaking, will not under correct operation Generation problem;
(3) note the real-time of software:Will periodically to development board in software carry out upgrade maintenance, to ensure to occur in hardware Failure or artificial origin are quickly can timely to revert to original normal condition when leading to not run.

Claims (3)

1. a kind of traffic lights with good stability direct traffic system, including:Hardware, software and supporting power supply, wherein The hardware has:Development board, CPU single-chip microcomputers, interface, decoder, display lamp and charactron;The software is adopted:arduino IDE;It is characterized in that:The annexation of the system is:Development board is commanded for starting, changing or stop as guidance panel The work of the system, the outfan of the development board are connected with the input of CPU single-chip microcomputers through wire, and CPU single-chip microcomputers are in arduino Under IDE software is supported, it is operated, is mainly used in time counting, the outfan of CPU single-chip microcomputers is by 232 interfaces and decoder Input be connected, decoder carries out binary decoding, with 60 seconds as a cycle, notifies CPU by wire when writing 60 seconds all over Single-chip microcomputer restarts to count so as to move in circles, its parameter and its startup and stopping by manually being controlled by development board, The decoder mainly translates three groups of signals, is conveyed to the crossing direction encoding block of crossroad four direction respectively by wire, The encoding block in each direction is respectively designed with green time NAND gate, yellow time NAND gate and red time NAND gate, wherein Red time NAND gate control time is the 0-30 seconds, produces a negative signal and the first trigger is set to " 1 " i.e. high level, while Other two triggers are set to " 0 " i.e. low level;Yellow time NAND gate control time is the 31-35 seconds, produces a negative letter Number the second trigger is set to " 1 " i.e. high level, while other two triggers are set to " 0 " i.e. low level;Green time with Not gate control time be the 36-60 seconds, produce a negative signal the 3rd trigger 11 is set to " 1 " i.e. high level, while by other Two triggers are set to " 0 " i.e. low level;" 1 " end of each trigger is that high level end passes through wire respectively with red, yellow It is connected with the high level end of green three display lamps so as to shinny, while the input phase also by wire and a nor gate Even, the nor gate is to simply enter end to have a high level input, outfan produce a low level negative signal, should Negative signal is connected via wires to the input of decelerator, starts and reduces to " 0 " time of institute's bright light from height subtract " 1 " per second, slows down The outfan of device is connected with digital display tube by wire, the remaining time of bright light in order to show, remind waiting pedestrian or Vehicle notes.
2. the traffic lights with good stability according to claim 1 direct traffic system, it is characterized in that:The hardware In development board be for do circuit connection and arduino circuit board, described CPU single-chip microcomputers are models atmega328 Main control singlechip, the interface is using Uart serial interfaces and USB interface;The display lamp adopts LED, each crossroad Mouth is respectively equipped with three display lamps of red, yellow and green three kinds of colors, and power supply adopts direct current 5v power supplys.
3. the traffic lights with good stability according to claim 1 and 2 direct traffic system, it is characterized in that:Described Power supply is burnt online using USB interface or outside 9VDC, support ISP, can by new firmware burning Avr chips, by serial ports or USB to rs232 lines update firmware.
CN201610913895.7A 2016-10-20 2016-10-20 A kind of traffic lights with good stability direct traffic system Pending CN106504546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610913895.7A CN106504546A (en) 2016-10-20 2016-10-20 A kind of traffic lights with good stability direct traffic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610913895.7A CN106504546A (en) 2016-10-20 2016-10-20 A kind of traffic lights with good stability direct traffic system

Publications (1)

Publication Number Publication Date
CN106504546A true CN106504546A (en) 2017-03-15

Family

ID=58319281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610913895.7A Pending CN106504546A (en) 2016-10-20 2016-10-20 A kind of traffic lights with good stability direct traffic system

Country Status (1)

Country Link
CN (1) CN106504546A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2142622Y (en) * 1992-07-16 1993-09-22 滕鹤松 Multi-channel power source remote controller
CN2308926Y (en) * 1997-09-02 1999-02-24 聂世锦 Traffic management device for urban road plane junction
CN1210318A (en) * 1997-09-02 1999-03-10 聂世锦 Traffic control system for crossroad in urban area
US5977883A (en) * 1997-07-30 1999-11-02 Leonard; William H. Traffic light control apparatus for emergency vehicles
US7333028B2 (en) * 2005-06-01 2008-02-19 Global Traffic Technologies, Llc Traffic preemption system communication method
CN204650763U (en) * 2015-05-20 2015-09-16 湖南文理学院 A kind of traffic light control system of right-angled intersection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2142622Y (en) * 1992-07-16 1993-09-22 滕鹤松 Multi-channel power source remote controller
US5977883A (en) * 1997-07-30 1999-11-02 Leonard; William H. Traffic light control apparatus for emergency vehicles
CN2308926Y (en) * 1997-09-02 1999-02-24 聂世锦 Traffic management device for urban road plane junction
CN1210318A (en) * 1997-09-02 1999-03-10 聂世锦 Traffic control system for crossroad in urban area
US7333028B2 (en) * 2005-06-01 2008-02-19 Global Traffic Technologies, Llc Traffic preemption system communication method
CN204650763U (en) * 2015-05-20 2015-09-16 湖南文理学院 A kind of traffic light control system of right-angled intersection

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
姜邈: "《电子线路课程设计指导书》", 31 August 1994 *
王希娟 等: "基于Arduino单片机的交通灯倒计时显示器设计", 《计算机光盘软件与应用》 *

Similar Documents

Publication Publication Date Title
CN104898546B (en) A kind of PLC on-line debugging system and method based on SOC
CN108966462B (en) Method and device for determining physical position of lamp
CN102914998B (en) The axle digital control system in open type of built-in small four
CN104503771B (en) A kind of train network control system integrating and developing platform
CN102591327B (en) Virtual-real combined test method developed for automobile body control
CN107977212A (en) Support the high speed cd-rom recorder of multiple communication modes
CN203206524U (en) External-control RGB wall washer system
CN102121175A (en) Programming control system of pattern sewing machine based on PLC (Programmable Logic Controller)
CN102411363A (en) On-line monitoring system and monitoring method of running state of mine fan
CN101145402B (en) Flash memory card test method
CN106572557A (en) LED lamp string scintillation control method and system
CN202650310U (en) Virtual practical training operating system of cola mine auxiliary shaft hoisting system
CN106504546A (en) A kind of traffic lights with good stability direct traffic system
CN206042420U (en) Intelligence vegetation LED lamp controller
CN103687244A (en) Smart home illumination centralized control host and wiring method thereof
CN109407534A (en) Equipment control method and device, configuration equipment and control device
CN112785903A (en) Programming device and method for controlling based on color recognition
CN103049602B (en) Based on model-driven engineering, AADL assembly is transformed into Interface Automata model method
CN200993738Y (en) Linux based modulariz embedded industrial control platform device
CN107357596A (en) Chip program more new system
CN202394528U (en) Programming device for storage board
CN201127136Y (en) Unit control apparatus for macrotype cresset group
CN101499929A (en) Centralized plug and use production test system and method for network terminal equipment under Linux environment
CN103025016A (en) Wireless lamp control box system based on NRF095
CN207363708U (en) On professional tunnel ventilation, illumination, traffic zone band management function control machine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170315

WD01 Invention patent application deemed withdrawn after publication