CN111815972A - Traffic signal lamp control system - Google Patents

Traffic signal lamp control system Download PDF

Info

Publication number
CN111815972A
CN111815972A CN202010647877.5A CN202010647877A CN111815972A CN 111815972 A CN111815972 A CN 111815972A CN 202010647877 A CN202010647877 A CN 202010647877A CN 111815972 A CN111815972 A CN 111815972A
Authority
CN
China
Prior art keywords
traffic signal
signal lamp
control system
lamp control
traffic
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
CN202010647877.5A
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.)
Shanghai Dianji University
Original Assignee
Shanghai Dianji 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 Shanghai Dianji University filed Critical Shanghai Dianji University
Priority to CN202010647877.5A priority Critical patent/CN111815972A/en
Publication of CN111815972A publication Critical patent/CN111815972A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/07Controlling traffic signals
    • G08G1/08Controlling traffic signals according to detected number or speed of vehicles
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/09Arrangements for giving variable traffic instructions
    • G08G1/095Traffic lights

Abstract

The invention relates to a traffic signal lamp control system which comprises a controller and an image acquisition device connected with the controller, wherein the image acquisition device acquires images in four directions of a crossroad, and the controller controls the on-off time of a traffic signal lamp according to the acquired images. Compared with the prior art, the control of each traffic signal lamp can be accurately realized in real time according to the traffic flow, the adaptability of the original timing traffic signal lamp to complex traffic road conditions can be improved, and the centralized coordinated traffic network can be calibrated and optimized.

Description

Traffic signal lamp control system
Technical Field
The invention relates to the field of traffic signal lamp control, in particular to a traffic signal lamp control system.
Background
In the existing traffic signal lamp control system, the interval time of traffic lights at each intersection, namely the signal-to-green ratio, is always constant, and the interval time of the traffic lights cannot be changed in real time along with the traffic flow on the road, but the intersection often has the condition that the traffic flow in one direction is more and the traffic flow in the other direction is less, so that the constant traffic lamp control system wastes much time of people and is also a main source of urban traffic congestion.
Disclosure of Invention
The present invention is directed to a traffic signal control system for overcoming the above-mentioned drawbacks of the prior art.
The purpose of the invention can be realized by the following technical scheme:
the traffic signal lamp control system comprises a controller and an image acquisition device connected with the controller, wherein the image acquisition device acquires images in four directions of a crossroad, and the controller controls the on-off time of a traffic signal lamp according to the acquired images.
The controller is a single chip microcomputer.
The single chip microcomputer is an STM32F103 single chip microcomputer.
The STM32F103 single chip microcomputer is externally connected with an 8MHz crystal oscillator circuit and a 32.768kHz crystal oscillator circuit.
The 8MHz crystal oscillator circuit consists of an 8MHz crystal oscillator and 2 22pf capacitors.
The 32.768kHz crystal oscillator circuit consists of 32.768kHz crystal oscillators and 2 capacitors of 15 pf.
The image acquisition device is an intelligent camera.
The intelligent camera is an Open MV4 intelligent camera.
The four image acquisition devices respectively acquire images in four directions of the crossroad.
The process that the controller controls the turn-on and turn-off time of the traffic signal lamp according to the collected image comprises the following steps:
the image acquisition device judges the traffic flow of four directions according to the acquired image and transmits the traffic flow to the controller, the controller compares the received traffic flow of four directions, the green light passing time of the direction with the minimum traffic flow is shortened by half on the basis of the original time, and the green light passing time of the direction with the maximum traffic flow is increased by half on the basis of the original time.
Compared with the prior art, the invention has the following advantages:
(1) the traffic flow can be detected, identified and tracked in real time through the image acquisition device of the intersection, then the acquired traffic flow data is sent to the controller, the controller carries out data processing on the received data, and reasonable turn-on and turn-off time of each intersection is distributed in real time according to the traffic flow of each intersection, so that the problem of traffic jam can be further relieved, the road traffic efficiency is improved, the tail gas emission is reduced, and the effects of energy conservation and emission reduction are achieved; the traffic flow is detected in real time and adjusted automatically, so that the control of each traffic signal lamp can be realized one by one, independently and accurately; the adaptability of the original timing traffic lights to complex traffic road conditions can be improved, and the centralized and coordinated traffic network can be calibrated and optimized.
(2) The STM32F103 single chip microcomputer is small in power consumption, strong in real-time performance, strong in control capability, high in reliability, light, small and exquisite, easy to expand and low in cost, and can achieve real-time processing of traffic flow data.
(3) The Open MV4 intelligent camera is provided with an image processing module, can calculate the traffic flow in real time and has low power consumption.
Drawings
FIG. 1 is a schematic structural view of the present invention;
FIG. 2 is a schematic diagram of a reset circuit of the present invention;
FIG. 3 is a schematic diagram of a power supply circuit of the present invention;
FIG. 4 is a schematic diagram of a crystal oscillator circuit according to the present invention;
FIG. 5 is a flow chart of a method of use of the present invention.
Detailed Description
The invention is described in detail below with reference to the figures and specific embodiments. The present embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation manner and a specific operation process are given, but the scope of the present invention is not limited to the following embodiments.
Examples
The embodiment provides a traffic signal lamp control system, and a general structure block diagram is shown in fig. 1, and the system includes an STM32F103 single chip microcomputer, an Open MV4 intelligent camera, a user key unit and a power supply unit. The real-time traffic flow of four directions of the crossroad is collected through four Open MV4 intelligent cameras, the collected traffic flow data are sent to the STM32F103 single chip microcomputer, the STM32F103 single chip microcomputer carries out data processing on the received data, and finally the on-off time of each lane traffic light is reasonably distributed through the system.
The Open MV4 intelligent camera can easily complete the functions of motion detection, color tracking, face detection, optical flow detection, data matrix detection, AprilTag tracking, image capture, video recording and the like.
Hardware module:
1. STM32F103 single chip microcomputer
The biggest difference from the 51 series 8-bit single chip microcomputer is that the STM32 series single chip microcomputer can be programmed not only by using a register, but also by using a library file provided by an official party, so that the programming is convenient, and the transplantation is easier. STM32F series belongs to 32-bit ARM microcontroller at middle and low ends, and the series of single-chip microcomputers can be divided into three types according to the capacity of Flash in the chip, wherein the small capacity is 16K and 32K, the medium capacity is 64K and 128K, and the large capacity is 256K, 384K and 512K. Particularly, the STM32F103 series is one of the most common MCUs in the market of the electronic industry, is a high-performance, low-voltage and low-power-consumption micro-control processor, the capacity of the micro-control processor is divided into 64K and 128K, and the working frequency can reach 72MHz at most.
2. Reset circuit
The reset function is mainly used for preventing the program from being restored to a power-on state through key reset when the program runs in error or enters dead cycle, and the program is executed again. The reset circuit is divided into power-on reset and key reset. The power-on reset circuit consists of 10K, a key and a 0.1uF ceramic capacitor, and when the power is just switched on, the system is automatically reset through R5 and C8. When the reset key is pressed, the 7 th pin NRST of the singlechip is conducted with GND, so that a low level is obtained, and the system is reset. Different from the reset circuit of the 51 single chip microcomputer, the reset of the 51 single chip microcomputer is high-level reset, and the reset of the STM32 series single chip microcomputers is low-level reset. The circuit of which is shown in fig. 2.
3. Power supply circuit
The power supply circuit is connected to the circuit through a 5V USB line through a DC-5.0 interface, and the working voltage of the STM32F103 single chip microcomputer is 3.3V, so that the voltage is reduced to 3.3V through a U1_ AMS1117_3.3V voltage reducer, and stable working voltage is provided for the minimum system circuit of the STM32F103 single chip microcomputer.
Fig. 3 is a schematic diagram of a power supply circuit, wherein capacitors C22, C21, C20 and C19 in the circuit are filter capacitors for filtering and reducing fluctuation and interference signals in the circuit to ensure normal operation of the system, and K1 is a system power switch.
4. Crystal oscillator circuit
The crystal oscillator circuit is used for generating a clock signal necessary for operation. The crystal oscillator circuit of the system has two, an external 8MHz high-speed crystal oscillator of the system operation clock frequency and an external 32.768kHz crystal oscillator of the system real-time clock operation. The high-speed crystal oscillator is composed of an 8MHz crystal oscillator and 2 22pf capacitors, the low-speed crystal oscillator is composed of a 32.768kHz crystal oscillator and 2 15pf capacitors, the external 8MHz crystal oscillator is mainly used as a high-speed system running clock, the processing speed of a 72MHz inner core is achieved by setting a clock tree and PLL frequency multiplication in a single chip microcomputer, and an external low-speed 32.768kHz crystal oscillator circuit is mainly used as an RTC clock source. The circuit diagram is shown in fig. 4.
In addition, a key circuit can be arranged, and the keys and functional parameters of the traffic signal lamp can be set through the key circuit.
The using method comprises the following steps:
the system is initialized, then the traffic flow is identified, detected and tracked through four Open MV4 intelligent cameras, the traffic flow information in each direction is processed and then transmitted to an STM32F103 single chip microcomputer, the single chip microcomputer processes the traffic flow data in each direction, the on-off time of traffic lights in each direction is reasonably planned according to the real-time traffic flow, the whole system program is circularly executed, the detection, identification and tracking of the traffic flow data can be completed in real time, the on-off time of the traffic lights in each direction is planned in real time, and a flow chart is shown in figure 5.
The Open MV4 intelligent camera completes the identification calculation and tracking of real-time traffic flow through three algorithms of a background difference method, a single Gaussian background model method and a camshift method.

Claims (10)

1. The traffic signal lamp control system is characterized by comprising a controller and an image acquisition device connected with the controller, wherein the image acquisition device acquires images in four directions of a crossroad, and the controller controls the on-off time of a traffic signal lamp according to the acquired images.
2. The traffic signal lamp control system of claim 1, wherein the controller is a single chip microcomputer.
3. The traffic signal lamp control system according to claim 2, wherein the single chip microcomputer is an STM32F103 single chip microcomputer.
4. The traffic signal lamp control system of claim 3, wherein the STM32F103 single chip microcomputer is externally connected with an 8MHz crystal oscillator circuit and a 32.768kHz crystal oscillator circuit.
5. The traffic signal lamp control system according to claim 4, wherein said 8MHz crystal oscillator circuit is composed of 8MHz crystal oscillator and 2 22pf capacitors.
6. A traffic signal lamp control system as claimed in claim 4, wherein said 32.768kHz crystal oscillator circuit is composed of 32.768kHz crystal oscillator and 2 15pf capacitors.
7. A traffic signal control system as claimed in claim 1, wherein said image capturing means is an intelligent camera.
8. The traffic signal lamp control system according to claim 7, wherein the smart camera is an Open MV4 smart camera.
9. The traffic signal lamp control system according to claim 1, wherein said image capturing devices are four, and four of said image capturing devices respectively capture images of four directions of the intersection.
10. The traffic signal 1 lamp control system as claimed in claim 1, wherein the process of controlling the turn-on and turn-off time of the traffic signal lamp according to the collected image by the controller comprises:
the image acquisition device judges the traffic flow of four directions according to the acquired image and transmits the traffic flow to the controller, the controller compares the received traffic flow of four directions, the green light passing time of the direction with the minimum traffic flow is shortened by half on the basis of the original time, and the green light passing time of the direction with the maximum traffic flow is increased by half on the basis of the original time.
CN202010647877.5A 2020-07-07 2020-07-07 Traffic signal lamp control system Pending CN111815972A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010647877.5A CN111815972A (en) 2020-07-07 2020-07-07 Traffic signal lamp control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010647877.5A CN111815972A (en) 2020-07-07 2020-07-07 Traffic signal lamp control system

Publications (1)

Publication Number Publication Date
CN111815972A true CN111815972A (en) 2020-10-23

Family

ID=72842012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010647877.5A Pending CN111815972A (en) 2020-07-07 2020-07-07 Traffic signal lamp control system

Country Status (1)

Country Link
CN (1) CN111815972A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521990A (en) * 2011-12-19 2012-06-27 徐华中 Control method of intelligent traffic light based on image processing
CN104376732A (en) * 2014-10-30 2015-02-25 陕西科技大学 Intelligent traffic light based on signal control processing technology and signal control method
CN204516047U (en) * 2015-04-01 2015-07-29 厦门理工学院 A kind of crossroad intelligence timing system
CN108629988A (en) * 2018-05-15 2018-10-09 青岛永辉光电科技有限公司 Traffic lights regulate and control method, apparatus and electronic equipment
US10192434B1 (en) * 2017-09-07 2019-01-29 Toyota Motor Engineering & Manufacturing North America, Inc. Traffic signal learning and optimization
CN109979213A (en) * 2019-05-07 2019-07-05 河海大学常州校区 A kind of crossroad access lamp matches period control method, apparatus and system
US10559201B1 (en) * 2018-02-27 2020-02-11 Traffic Technology Services, Inc. Using connected vehicle data to optimize traffic signal timing plans

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521990A (en) * 2011-12-19 2012-06-27 徐华中 Control method of intelligent traffic light based on image processing
CN104376732A (en) * 2014-10-30 2015-02-25 陕西科技大学 Intelligent traffic light based on signal control processing technology and signal control method
CN204516047U (en) * 2015-04-01 2015-07-29 厦门理工学院 A kind of crossroad intelligence timing system
US10192434B1 (en) * 2017-09-07 2019-01-29 Toyota Motor Engineering & Manufacturing North America, Inc. Traffic signal learning and optimization
US10559201B1 (en) * 2018-02-27 2020-02-11 Traffic Technology Services, Inc. Using connected vehicle data to optimize traffic signal timing plans
CN108629988A (en) * 2018-05-15 2018-10-09 青岛永辉光电科技有限公司 Traffic lights regulate and control method, apparatus and electronic equipment
CN109979213A (en) * 2019-05-07 2019-07-05 河海大学常州校区 A kind of crossroad access lamp matches period control method, apparatus and system

Similar Documents

Publication Publication Date Title
CN204598421U (en) A kind of intelligent power saving LED street lamp control system
CN105118262A (en) Community-oriented high-efficiency remote meter reading method and system
CN105960051A (en) Stepless light modulation LED street lamp and control method
CN103974508B (en) A kind of underground garage LED illumination energy-saving control method
CN208227167U (en) A kind of Internet of Things image recognition terminal and system
CN111815972A (en) Traffic signal lamp control system
CN202068611U (en) Indoor energy-saving control system based on machine vision
CN208027552U (en) The wireless kilowatt meter reading-out system with Intelligent supplemental lighting function based on NB-IoT and visual identity
CN108566698A (en) A kind of streetlight embedded real-time control apparatus based on Lora
CN206908899U (en) A kind of medium tunnel segmented illumination control system
CN115038209A (en) Energy-saving control system and method based on Internet of things
CN205230353U (en) Intelligent transportation signal lamp system based on FPGA
CN109287052A (en) A kind of control method of lamp switch chip and the lamp switch chip
CN204265162U (en) A kind of elevator dragging wire rope stress harvester of low-power consumption
CN204155454U (en) A kind of intelligent transportation lamp control device
CN103476168A (en) Building LED intelligent lighting control system based on things of Internet
CN110111586A (en) A kind of prompt monitoring and alarming system of safe speed
CN203414766U (en) FPGA (field programmable gate array) based full polarization imaging processing system
CN208334637U (en) A kind of web camera radar range unit
CN213818268U (en) Intelligent dimming LED system
CN207601491U (en) A kind of energy-conserving intelligent projector of adjust automatically brightness
CN204695424U (en) Automatic Control hotel gate control system
CN206450940U (en) Recognition of container number camera synchronization stroboscopic LED light supplement lamp
Chen Design of intelligent lighting energy saving system for Expressway Tunnel Based on Internet of things
CN107966998A (en) A kind of photovoltaic generation tracking system and its control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201023