CN112233433A - Traffic light control method and device and electronic equipment - Google Patents

Traffic light control method and device and electronic equipment Download PDF

Info

Publication number
CN112233433A
CN112233433A CN202011100231.1A CN202011100231A CN112233433A CN 112233433 A CN112233433 A CN 112233433A CN 202011100231 A CN202011100231 A CN 202011100231A CN 112233433 A CN112233433 A CN 112233433A
Authority
CN
China
Prior art keywords
traffic light
module
road
traffic
congestion degree
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
CN202011100231.1A
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.)
Beihang University
Original Assignee
Beihang 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 Beihang University filed Critical Beihang University
Priority to CN202011100231.1A priority Critical patent/CN112233433A/en
Publication of CN112233433A publication Critical patent/CN112233433A/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

Landscapes

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

Abstract

The invention provides a traffic light control method, a traffic light control device and electronic equipment. Wherein, the method comprises the following steps: receiving a road congestion degree parameter sent by a terminal of a traffic control center; determining a traffic light mode of the road based on the congestion degree parameter; wherein the traffic light mode comprises a flashing time of the traffic light; the traffic light is controlled based on the traffic light pattern. The traffic light system can receive a congestion degree parameter sent by a terminal of the traffic control center, the congestion degree parameter represents the vehicle congestion degree of a road in unit time, a traffic light mode is determined according to the congestion degree parameter, and the traffic light is controlled based on the traffic light mode. In the mode, the traffic light system can select the traffic light mode according to the congestion degree parameters, so that the green light time of the road in the congestion direction is increased, the green light time of the road in the unblocked direction is reduced, the congestion of road conditions can be effectively relieved, and the traffic pressure is relieved.

Description

Traffic light control method and device and electronic equipment
Technical Field
The invention relates to the technical field of signal transmission, in particular to a traffic light control method, a traffic light control device and electronic equipment.
Background
In recent years, with the progress of urbanization in China and the rapid increase of the number of motor vehicles, traffic congestion becomes an important problem affecting the traveling of residents in large cities, and the number of traffic accidents tends to rise. As a core node of a traffic network, the optimal control of traffic lights is an important link for solving the congestion problem and improving the travel safety guarantee of residents. In the traffic light system that is widely popularized at present, the mode of traffic light is fixed, and the traffic light flickers with fixed law promptly, and the traffic light can regularly switch according to the control program of design to realize the staggered time operation of vehicle on the crossing, avoid the not equidirectional vehicle conflict to take place the collision accident.
However, the pattern of fixed traffic lights does not change with changes in traffic flow at the intersection. Therefore, vehicles in one direction are unobstructed in a busy road section, vehicles in the other direction are very congested, road condition congestion is caused, and traffic pressure is increased.
Disclosure of Invention
In view of this, the present invention provides a traffic light control method, a traffic light control device, and an electronic device, so as to effectively alleviate road congestion and reduce traffic pressure.
In a first aspect, an embodiment of the present invention provides a traffic light control method, which is applied to a traffic light system, and the method includes: receiving a road congestion degree parameter sent by a terminal of a traffic control center; the congestion degree parameter is determined by the terminal inputting the current vehicle condition image of the road into the neural network model to obtain the number of vehicles in the current unit time of the road and based on the number of the vehicles; determining a traffic light mode of the road based on the congestion degree parameter; wherein the traffic light mode comprises a flashing time of the traffic light; the traffic light is controlled based on the traffic light pattern.
In a preferred embodiment of the present invention, the traffic light system comprises a field programmable gate array FPGA module; the step of receiving the road congestion degree parameter sent by the terminal of the traffic control center comprises the following steps: and the FPGA module receives the road congestion degree parameter sent by the terminal of the traffic control center.
In a preferred embodiment of the present invention, the method further includes: the FPGA module receives a traffic light mode selection instruction; the traffic light mode selection instruction is sent by a terminal or a user terminal of a traffic control center; a traffic light mode for the road is determined based on the traffic light mode selection instruction.
In a preferred embodiment of the present invention, the traffic light system includes a mode selection module, and the mode selection module pre-stores a plurality of traffic light modes and a corresponding relationship between the traffic light modes and congestion degree parameters; the step of determining the traffic light mode of the road based on the congestion degree parameter includes: the mode selection module determines a traffic light mode of the road based on the correspondence and the congestion degree parameter.
In a preferred embodiment of the present invention, the traffic light system includes a control module, a traffic light status display module and a buzzer module; the step of controlling the traffic light based on the traffic light mode includes: the control module generates a control signal based on the traffic light mode; the traffic light state display module controls the display state of the traffic light based on the control signal; the buzzer module buzzes based on the control signal.
In a preferred embodiment of the present invention, the traffic light system further comprises a decoding module and a nixie tube module; after the step of the control module generating the control signal based on the traffic light pattern, the method further comprises: the decoding module performs decoding processing on the control signal to obtain a decoding result; the nixie tube module displays digits based on the decoding result.
In a preferred embodiment of the present invention, the traffic light system comprises; the pulse per second generating module and the timing module; the method comprises the following steps: the second pulse generation module provides a clock signal for the traffic light system; the timing module determines a control period for the traffic light mode.
In a second aspect, an embodiment of the present invention further provides a traffic light control device, which is applied to a traffic light system, and includes: the congestion degree parameter receiving module is used for receiving the congestion degree parameter of the road sent by the terminal of the traffic control center; the congestion degree parameter is determined by the terminal inputting the current vehicle condition image of the road into the neural network model to obtain the number of vehicles in the current unit time of the road and based on the number of the vehicles; the traffic light mode determining module is used for determining a traffic light mode of a road based on the congestion degree parameter; wherein the traffic light mode comprises a flashing time of the traffic light; and the traffic light control module is used for controlling the traffic light based on the traffic light mode.
In a third aspect, embodiments of the present invention further provide an electronic device, which includes a processor and a memory, where the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the steps of the traffic light control method described above.
In a fourth aspect, embodiments of the present invention further provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the steps of the traffic light control method described above.
The embodiment of the invention has the following beneficial effects:
according to the traffic light control method, the traffic light control device and the electronic equipment, the traffic light system can receive the congestion degree parameter sent by the terminal of the traffic control center, the congestion degree parameter represents the vehicle congestion degree of a road in unit time, the traffic light mode is determined according to the congestion degree parameter, and the traffic light is controlled based on the traffic light mode. In the mode, the traffic light system can select the traffic light mode according to the congestion degree parameters, so that the green light time of the road in the congestion direction is increased, the green light time of the road in the unblocked direction is reduced, the congestion of road conditions can be effectively relieved, and the traffic pressure is relieved.
Additional features and advantages of the disclosure will be set forth in the description which follows, or in part may be learned by the practice of the above-described techniques of the disclosure, or may be learned by practice of the disclosure.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a traffic light control method according to an embodiment of the present invention;
fig. 2 is a flow chart of another traffic light control method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a traffic light system provided by an embodiment of the present invention;
FIG. 4 is a schematic diagram of a 00 mode selection circuit according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a mode selection circuit according to a mode 01 embodiment of the present invention;
FIG. 6 is a diagram illustrating a 10-mode selection circuit according to an embodiment of the present invention;
FIG. 7 is a diagram illustrating an 11-mode selection circuit according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of an overall circuit according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a traffic light control device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
At present, the mode of the traffic light is fixed and cannot be changed along with the change of the traffic flow at the intersection. Therefore, vehicles in one direction are unobstructed in a busy road section, vehicles in the other direction are very congested, road condition congestion is caused, and traffic pressure is increased. Based on this, the traffic light control method, the traffic light control device and the electronic device provided by the embodiment of the invention add the mode selection circuit on the basis of the whole circuit system, so that different traffic light modes can be selected according to different road conditions, different countdown times are corresponding to different directions, and the congestion situation with great traffic flow difference in different directions of the road is relieved.
To facilitate understanding of the present embodiment, a detailed description will be given to a traffic light control method disclosed in the present embodiment.
Example 1
An embodiment of the present invention provides a traffic light control method, which is applied to a traffic light system, and referring to a flowchart of the traffic light control method shown in fig. 1, the traffic light control method includes the following steps:
step S102, receiving a road congestion degree parameter sent by a terminal of a traffic control center; the congestion degree parameter is determined by the terminal by inputting the current vehicle condition image of the road into the neural network model to obtain the number of vehicles in the current unit time of the road and based on the number of the vehicles.
Traffic control means that traffic polices or traffic signal control facilities are used to direct the traffic of vehicles and pedestrians according to the traffic change characteristics. The traffic control center can be a command part for commanding the traffic of vehicles and pedestrians, a terminal of the traffic control center is also called a road network host end, and workers can check road condition information through the terminal of the traffic control center.
The road in this embodiment is provided with a plurality of image capturing devices, the image capturing devices may be devices such as cameras that take pictures of vehicles on the road at regular time, and the interval between the pictures may be 10 seconds to 1 minute. The vehicle condition image acquired by the camera equipment is sent to a terminal of a control center, and the terminal inputs the current vehicle condition image of the road into a neural network model to obtain the number of vehicles in the current unit time of the road.
Generally, the terminal can identify vehicles in each vehicle condition image in a target identification mode, count the number of vehicles in each vehicle condition image, and determine the number of vehicles in the current unit time of the road according to the collection interval of the vehicle images.
The congestion degree parameter may be set to different levels, and the number of vehicles in the current unit time of different sections may correspond to the congestion degree parameter of different levels, for example: the congestion degree parameter may be set in advance to 1 when the current number of vehicles per unit time is less than 10, to 2 when the current number of vehicles per unit time is greater than or equal to 10 and less than 50, to 3 when the current number of vehicles per unit time is greater than or equal to 50 and less than 100, and to 4 when the current number of vehicles per unit time is greater than or equal to 100.
Thus, the congestion level parameter may characterize the degree of congestion of the vehicle in the road. After the congestion degree parameter is calculated by the terminal of the traffic control center through the neural network model, the congestion degree parameter can be sent to the traffic light system. The traffic light system is arranged on a road and used for controlling the traffic light to flicker.
Step S104, determining a traffic light mode of the road based on the congestion degree parameter; wherein the traffic light pattern comprises a flashing time of the traffic light.
A plurality of different traffic light modes can be stored in the traffic light system in advance, the traffic light modes comprise the flashing time of the traffic lights, namely the traffic lights, and the flashing time of the traffic lights can be understood as the flashing time of the red lights, the green lights and the yellow lights. I.e. different traffic light patterns comprise different flashing times for red, green and yellow lights. Therefore, the traffic light mode of the road can be determined according to the congestion degree parameter in the traffic light system, namely, the appropriate flashing time of the traffic light is selected according to the congestion degree of the road.
Step S106, controlling the traffic light based on the traffic light mode.
After determining the traffic light mode, the traffic light system may control the traffic light according to the traffic light mode. For example: and controlling the red light, the green light and the yellow light to flicker, and controlling the buzzer to buzz or the timer to count down.
According to the traffic light control method provided by the embodiment of the invention, the traffic light system can receive the congestion degree parameter sent by the terminal of the traffic control center, the congestion degree parameter represents the vehicle congestion degree of a road in unit time, the traffic light mode is determined according to the congestion degree parameter, and the traffic light is controlled based on the traffic light mode. In the mode, the traffic light system can select the traffic light mode according to the congestion degree parameters, so that the green light time of the road in the congestion direction is increased, the green light time of the road in the unblocked direction is reduced, the congestion of road conditions can be effectively relieved, and the traffic pressure is relieved.
Example 2
The embodiment of the invention also provides another traffic light control method; the method is realized on the basis of the method of the embodiment; the method mainly describes a specific implementation mode for receiving the road congestion degree parameter sent by the terminal of the traffic control center. The traffic light system includes an FPGA (Field Programmable Gate Array) module.
Another traffic light control method, as shown in fig. 2, comprises the steps of:
and step S202, the FPGA module receives the road congestion degree parameter sent by the terminal of the traffic control center.
Referring to the schematic diagram of a traffic light system shown in fig. 3, a camera device is arranged at an intersection to take pictures at regular time to capture road vehicle condition images, and the camera device can transmit the vehicle condition images to a road network host end (i.e. a terminal of a traffic control center). The neural network model at the host end is a Yolov3(You Only Look one v3) network combined with an OpenCV (open Source Computer Vision library) network model, and can be used for carrying out data centralized processing on multiple interfaces in an area, capturing the number of vehicles in unit time, acquiring the current traffic condition in real time and outputting the number of vehicles in the current unit time of a road. HEX (Hexadecimal) or ASCII (American Standard Code for Information exchange) codes representing traffic conditions are input into the serial assistant and returned to the FPGA module of the intersection for receiving in a serial communication mode, so that data communication and visualization are realized.
The FPGA module can receive the congestion degree parameter and also has a communication function, for example, the FPGA module receives a traffic light mode selection instruction; the traffic light mode selection instruction is sent by a terminal or a user terminal of a traffic control center; a traffic light mode for the road is determined based on the traffic light mode selection instruction.
From the viewpoint of circuit reliability, a top module can be arranged in the FPGA, so that the traffic signal lamp can be remotely and manually controlled in priority at a computer host end (namely a terminal of a traffic control center), and a road end (namely a user terminal) can also be manually controlled in a switching mode.
Step S204, determining a traffic light mode of the road based on the congestion degree parameter; wherein the traffic light pattern comprises a flashing time of the traffic light.
As shown in fig. 3, the traffic light system includes a mode selection module, and the mode selection module pre-stores a plurality of traffic light modes and correspondence between the traffic light modes and congestion degree parameters. The traffic light pattern of the road may thus be determined by a pattern selection module, for example: the mode selection module determines a traffic light mode of the road based on the correspondence and the congestion degree parameter.
In step S206, the traffic light is controlled based on the traffic light mode.
As shown in fig. 3, the traffic light system includes a control module, a traffic light status display module, and a buzzer module; the control module generates a control signal based on the traffic light mode, and the traffic light state display module controls the display state of the traffic light based on the control signal; the buzzer module buzzes based on the control signal.
As shown in fig. 3, the traffic light system further includes a decode module and a nixie tube module; the method further comprises the following steps: the decoding module performs decoding processing on the control signal to obtain a decoding result; the nixie tube module displays digits based on the decoding result.
The decoding module is used for converting the control signal output by the control module into a format which can be received by the nixie tube module to obtain a decoding result. The nixie tube module can display numbers according to decoding results, the numbers can be countdown, and the nixie tube module can display the countdown accordingly.
As shown in FIG. 3, a traffic light system includes; the pulse per second generating module and the timing module; the method further comprises the following steps: the second pulse generation module provides a clock signal for the traffic light system; the timing module determines a control period for the traffic light mode.
The second pulse generation module can generate a clock signal which is a standard clock signal source of the control circuit and the fixed circuit. The timing module can control the control period of the traffic light mode, and can switch another traffic mode and the like when the traffic light mode reaches the specified control period.
Specifically, the mode selection module comprises a mode selection circuit, the switching of the traffic light countdown time is judged by an embedded decision algorithm on the real-time road condition, and the countdown time of the corresponding main road and branch road is given.
The decision algorithm is realized through a mode selection circuit, the 4-system counting circuit is built in the partial circuit through 74LS160 to carry out a circulation selection mode, and then the decoding is carried out through a 3-8 decoder 74LS138 to select the system output of the corresponding mode. The FPGA decision output does not influence the display of the traffic light at the moment, and the road condition is updated in the next period.
Referring to fig. 4, a schematic diagram of a 00-mode selection circuit is shown, after power is turned on, the 00 mode is firstly set, the trunk red light and the branch green light, and at this time, the outputs of the two 74LS192 are 0, so in the down counter, two BO outputs 1, are correspondingly switched to the next state, and 162 is triggered once by the rising edge clock;
referring to fig. 5, a schematic diagram of a mode selection circuit in a 01 mode corresponds to a red light flashing of a main road, a yellow light of a branch road, an output corresponding to a Y _0 state 0, a not gate is reversed, a dial switch corresponds to 0000_0101, namely a two-bit nixie tube is 05, and a buzzer is triggered to give a prompt corresponding to a 5s countdown of the output state.
Referring to fig. 6, a schematic diagram of a 10-mode selection circuit corresponds to a main road green light and a branch road red light, which correspond to Y _1 state 0 output, the inverter is inverted, the dial switch corresponds to 0011_0000, which corresponds to a two-bit nixie tube of 30, and counts down for 30s in the output state.
Referring to fig. 7, a schematic diagram of an 11-mode selection circuit corresponds to a yellow light of a main road, a red light of a branch road flickers, and at this time, a Y _2 state 0 output is corresponded, a not gate is reversed, a dial switch corresponds to 0000_0101, that is, a two-bit nixie tube is corresponded to 05, and a buzzer is triggered to perform countdown corresponding to 5s in an output state.
The 00 mode corresponds to a red light of a main road and a green light of a branch road, the Y _3 state 0 output is corresponded at the moment, the NOT gate is reversed, the dial switch corresponds to 0001_0000, the two-bit nixie tube is 20, and the 20s countdown corresponding to the output state is carried out.
Then through 74LS00 NAND QAQBThe status is cleared to 74LS162, and 4 modes are output circularly. The overall circuit can be seen in a schematic diagram of an overall circuit shown in fig. 8.
The embodiment of the invention can select different countdown modes through the data transmitted by the serial port end. By designing countdown time in different modes in advance, after serial port communication data are transmitted, a corresponding signal can be sent to the countdown control circuit, and corresponding countdown time is realized according to real-time conditions, so that the utilization rate of roads is improved.
In addition, in this embodiment, a 555 timer with lower accuracy and a resistor may be used to form a pulse-per-second generating circuit, and in actual hardware operation, a timing circuit may be built by using an active crystal oscillator or a Wi-Fi (mobile hot spot) module may be used to obtain a time parameter with higher accuracy through networking, so as to obtain more accurate time.
The mode selection circuit in the embodiment is realized by digital circuit logic built by matching 74ls160/74ls162 chips with 74ls138 chips, and an STC single chip microcomputer or an integrated FPGA can be used for replacing internal decision. The display decoding circuit part in the embodiment adopts a scheme of adding a traditional decoding chip 74ls248 and seven segments of digital tubes, and can be realized by combining a 51 single chip microcomputer with an OLED display screen instead.
In the actual technology landing process, the whole path decision algorithm can adopt a local FPGA chip or a high-speed DSP chip to perform calculation decision locally, and can also adopt a cloud processor to be transmitted to a district-level or city-level traffic center to perform overall calculation and then dispersed to each traffic light. In this embodiment, serial port communication between the FPGA module and the control circuit may be performed in a serial port communication manner of rs232, rs422, or rs423, or in a serial port communication manner of USB.
According to the method provided by the embodiment of the invention, the FPGA module can classify the current vehicle condition according to the road information acquired by the intersection, so that the real-time judgment of the traffic condition of the intersection section is realized, and the traffic signal autonomous adjustment decision is carried out. The FPGA module can also output a coding decision signal through serial communication to a road network host end and a mode selection circuit end respectively, and meanwhile, the module ensures synchronous and reliable control of intersection traffic signals.
The mode selection module can carry out a traffic signal circulation selection mode by building a 4-system counting circuit, receives and decodes the decision signal output by the FPGA module, selects the system of the corresponding mode, converts the scheme of the corresponding decision signal and gives the scheme to the control circuit end.
The control module can receive decision signals converted by the mode selection circuit, establish a traffic signal control circuit and a time display circuit through a state conversion table, and establish a countdown circuit, so that the intelligent display/control function of specific intersection traffic signals is realized.
The traffic light system in the embodiment of the invention can also comprise a target detection and path planning module, the camera is used for taking pictures at regular time, capturing the pictures of the vehicles, the pictures are uploaded to a host end of the road network, the host end is used for carrying out centralized processing by combining YOLOv3 with OpenCV, the number of the vehicles in unit time is captured, and the road information is distributed and returned to the FPGA end of the intersection through serial communication; the path planning part establishes a vehicle condition map based on the data, performs estimation weight processing according to the vehicle condition and the path length, and generates a weighted directed graph. And the optimal path can be generated by utilizing Dijkstra algorithm, and the driving path can be intelligently planned.
Example 3
Corresponding to the above method embodiment, an embodiment of the present invention provides a traffic light control device, which is applied to a traffic light system, and as shown in fig. 9, the traffic light control device includes:
a congestion degree parameter receiving module 1101, configured to receive a congestion degree parameter of a road sent by a terminal of a traffic control center; the congestion degree parameter is determined by the terminal inputting the current vehicle condition image of the road into the neural network model to obtain the number of vehicles in the current unit time of the road and based on the number of the vehicles;
a traffic light mode determination module 1102 for determining a traffic light mode of the road based on the congestion degree parameter; wherein the traffic light mode comprises a flashing time of the traffic light;
a traffic light control module 1103 for controlling the traffic light based on the traffic light mode.
According to the traffic light control device provided by the embodiment of the invention, the traffic light system can receive the congestion degree parameter sent by the terminal of the traffic control center, the congestion degree parameter represents the vehicle congestion degree of a road in unit time, the traffic light mode is determined according to the congestion degree parameter, and the traffic light is controlled based on the traffic light mode. In the mode, the traffic light system can select the traffic light mode according to the congestion degree parameters, so that the green light time of the road in the congestion direction is increased, the green light time of the road in the unblocked direction is reduced, the congestion of road conditions can be effectively relieved, and the traffic pressure is relieved.
The traffic light system comprises a Field Programmable Gate Array (FPGA) module; the congestion degree parameter receiving module is used for receiving the congestion degree parameter of the road sent by the terminal of the traffic control center through the FPGA module.
The congestion degree parameter receiving module is also used for receiving a traffic light mode selection instruction by the FPGA module; the traffic light mode selection instruction is sent by a terminal or a user terminal of a traffic control center; a traffic light mode for the road is determined based on the traffic light mode selection instruction.
The traffic light system comprises a mode selection module, wherein the mode selection module is pre-stored with a plurality of traffic light modes and corresponding relations between the traffic light modes and congestion degree parameters; the traffic light mode determining module is used for determining the traffic light mode of the road by the mode selecting module based on the corresponding relation and the congestion degree parameter.
The traffic light system comprises a control module, a traffic light state display module and a buzzer module; the traffic light control module is used for generating a control signal based on a traffic light mode; the traffic light state display module controls the display state of the traffic light based on the control signal; the buzzer module buzzes based on the control signal.
The traffic light system also comprises a decoding module and a digital tube module; the decoding module controls the signal to perform decoding processing to obtain a decoding result; the above-mentioned charactron module displays figures based on the decoding result.
The traffic light system also comprises a pulse-per-second generating module and a timing module; the second pulse generation module provides a clock signal for the traffic light system; the timing module determines a control period for the traffic light mode.
The traffic light control device provided by the embodiment of the invention has the same technical characteristics as the traffic light control method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
Example 4
The embodiment of the invention also provides electronic equipment for operating the traffic light control method; referring to fig. 10, a schematic structural diagram of an electronic device is shown, the electronic device includes a memory 100 and a processor 101, where the memory 100 is used for storing one or more computer instructions, and the one or more computer instructions are executed by the processor 101 to implement the traffic light control method.
Further, the electronic device shown in fig. 10 further includes a bus 102 and a communication interface 103, and the processor 101, the communication interface 103, and the memory 100 are connected through the bus 102.
The Memory 100 may include a high-speed Random Access Memory (RAM) and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used. The bus 102 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 10, but this does not indicate only one bus or one type of bus.
The processor 101 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 101. The Processor 101 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 100, and the processor 101 reads the information in the memory 100, and completes the steps of the method of the foregoing embodiment in combination with the hardware thereof.
The embodiment of the invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to realize the traffic light control method.
The traffic light control method, the traffic light control device, and the computer program product of the electronic device provided in the embodiments of the present invention include a computer-readable storage medium storing program codes, instructions included in the program codes may be used to execute the methods in the foregoing method embodiments, and specific implementations may refer to the method embodiments and are not described herein again.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the apparatus and/or the electronic device described above may refer to corresponding processes in the foregoing method embodiments, and are not described herein again.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A traffic light control method, applied to a traffic light system, the method comprising:
receiving a road congestion degree parameter sent by a terminal of a traffic control center; the congestion degree parameter is determined by the terminal by inputting the current vehicle condition image of the road into a neural network model to obtain the number of vehicles in the current unit time of the road and based on the number of the vehicles;
determining a traffic light pattern for the road based on the congestion degree parameter; wherein the traffic light pattern comprises a flashing time of a traffic light;
controlling the traffic light based on the traffic light pattern.
2. The method of claim 1, wherein the traffic light system comprises a Field Programmable Gate Array (FPGA) module; the step of receiving the road congestion degree parameter sent by the terminal of the traffic control center comprises the following steps:
and the FPGA module receives the road congestion degree parameter sent by the terminal of the traffic control center.
3. The method of claim 2, further comprising:
the FPGA module receives a traffic light mode selection instruction; wherein the traffic light mode selection instruction is sent by a terminal or a user terminal of the traffic control center;
determining a traffic light mode for the road based on the traffic light mode selection instruction.
4. The method as claimed in claim 1, wherein the traffic light system comprises a mode selection module, and the mode selection module is pre-stored with a plurality of traffic light modes and corresponding relations between the traffic light modes and congestion degree parameters;
the step of determining a traffic light pattern of the road based on the congestion degree parameter includes:
the mode selection module determines a traffic light mode of the road based on the correspondence and the congestion degree parameter.
5. The method of claim 1, wherein the traffic light system comprises a control module, a traffic light status display module, and a buzzer module;
the step of controlling the traffic light based on the traffic light pattern includes:
the control module generates a control signal based on the traffic light pattern;
the traffic light state display module controls the display state of the traffic light based on the control signal;
the buzzer module buzzes based on the control signal.
6. The method of claim 5, wherein the traffic light system further comprises a decode module and a nixie tube module;
after the step of the control module generating a control signal based on the traffic light pattern, the method further comprises:
the decoding module decodes the control signal to obtain a decoding result;
the nixie tube module displays numbers based on the decoding result.
7. The method of claim 1, wherein the traffic light system comprises; the pulse per second generating module and the timing module; the method comprises the following steps:
the second pulse generation module provides a clock signal for the traffic light system;
the timing module determines a control period of the traffic light mode.
8. A traffic light control device for use with a traffic light system, the device comprising:
the congestion degree parameter receiving module is used for receiving the congestion degree parameter of the road sent by the terminal of the traffic control center; the congestion degree parameter is determined by the terminal by inputting the current vehicle condition image of the road into a neural network model to obtain the number of vehicles in the current unit time of the road and based on the number of the vehicles;
a traffic light mode determination module for determining a traffic light mode of the road based on the congestion degree parameter; wherein the traffic light pattern comprises a flashing time of a traffic light;
a traffic light control module to control the traffic light based on the traffic light pattern.
9. An electronic device comprising a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the steps of the traffic light control method of any of claims 1-5.
10. A computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the steps of the traffic light control method of any of claims 1-5.
CN202011100231.1A 2020-10-14 2020-10-14 Traffic light control method and device and electronic equipment Pending CN112233433A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011100231.1A CN112233433A (en) 2020-10-14 2020-10-14 Traffic light control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011100231.1A CN112233433A (en) 2020-10-14 2020-10-14 Traffic light control method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112233433A true CN112233433A (en) 2021-01-15

Family

ID=74113014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011100231.1A Pending CN112233433A (en) 2020-10-14 2020-10-14 Traffic light control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112233433A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114999164A (en) * 2022-08-05 2022-09-02 深圳支点电子智能科技有限公司 Intelligent traffic early warning processing method and related equipment
CN117274929A (en) * 2023-11-21 2023-12-22 深圳中科超远科技有限公司 Traffic management method and system based on visual analysis

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1831892A (en) * 2006-04-18 2006-09-13 北京铱星世纪数字应用开发有限责任公司 Traffic monitoring method and electronic police system
CN101571994A (en) * 2008-04-30 2009-11-04 奥城同立科技开发(北京)有限公司 Method for situation-display and dispersion of urban road traffic
CN101593431A (en) * 2008-05-26 2009-12-02 奥城同立科技开发(北京)有限公司 The method of automatically regulating vehicle traffic condition at crossing
CN103247181A (en) * 2013-04-17 2013-08-14 同济大学 Intelligent traffic light controller based on video vehicle queue length detection and control method thereof
CN203444641U (en) * 2013-07-25 2014-02-19 长安大学 Intersection signal lamp timing control system
CN104157155A (en) * 2014-08-24 2014-11-19 无锡北斗星通信息科技有限公司 Self-adaptive control system for traffic intersection signal lamps
CN204010319U (en) * 2014-08-24 2014-12-10 无锡北斗星通信息科技有限公司 traffic intersection signal lamp adaptive control system
CN106023605A (en) * 2016-07-15 2016-10-12 姹ゅ钩 Traffic signal lamp control method based on deep convolution neural network
CN107016861A (en) * 2017-05-31 2017-08-04 电子科技大学 Traffic lights intelligent control system based on deep learning and intelligent road-lamp
CN206489715U (en) * 2016-12-26 2017-09-12 天津职业技术师范大学 A kind of Intelligent traffic controller
CN108389403A (en) * 2018-04-23 2018-08-10 白冰 The traffic lights and speed(-)limit sign intelligent adjusting method captured based on vehicle flowrate
CN110930736A (en) * 2019-11-14 2020-03-27 山东交通职业学院 Crossroad traffic light control system
CN110969871A (en) * 2019-12-18 2020-04-07 浙江大学 Intelligent traffic light control system and control method
US20200111354A1 (en) * 2015-09-08 2020-04-09 Ofer Hofman Method for traffic control

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1831892A (en) * 2006-04-18 2006-09-13 北京铱星世纪数字应用开发有限责任公司 Traffic monitoring method and electronic police system
CN101571994A (en) * 2008-04-30 2009-11-04 奥城同立科技开发(北京)有限公司 Method for situation-display and dispersion of urban road traffic
CN101593431A (en) * 2008-05-26 2009-12-02 奥城同立科技开发(北京)有限公司 The method of automatically regulating vehicle traffic condition at crossing
CN103247181A (en) * 2013-04-17 2013-08-14 同济大学 Intelligent traffic light controller based on video vehicle queue length detection and control method thereof
CN203444641U (en) * 2013-07-25 2014-02-19 长安大学 Intersection signal lamp timing control system
CN204010319U (en) * 2014-08-24 2014-12-10 无锡北斗星通信息科技有限公司 traffic intersection signal lamp adaptive control system
CN104157155A (en) * 2014-08-24 2014-11-19 无锡北斗星通信息科技有限公司 Self-adaptive control system for traffic intersection signal lamps
US20200111354A1 (en) * 2015-09-08 2020-04-09 Ofer Hofman Method for traffic control
CN106023605A (en) * 2016-07-15 2016-10-12 姹ゅ钩 Traffic signal lamp control method based on deep convolution neural network
CN206489715U (en) * 2016-12-26 2017-09-12 天津职业技术师范大学 A kind of Intelligent traffic controller
CN107016861A (en) * 2017-05-31 2017-08-04 电子科技大学 Traffic lights intelligent control system based on deep learning and intelligent road-lamp
CN108389403A (en) * 2018-04-23 2018-08-10 白冰 The traffic lights and speed(-)limit sign intelligent adjusting method captured based on vehicle flowrate
CN110930736A (en) * 2019-11-14 2020-03-27 山东交通职业学院 Crossroad traffic light control system
CN110969871A (en) * 2019-12-18 2020-04-07 浙江大学 Intelligent traffic light control system and control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114999164A (en) * 2022-08-05 2022-09-02 深圳支点电子智能科技有限公司 Intelligent traffic early warning processing method and related equipment
CN117274929A (en) * 2023-11-21 2023-12-22 深圳中科超远科技有限公司 Traffic management method and system based on visual analysis
CN117274929B (en) * 2023-11-21 2024-06-11 博时信息科技(深圳)有限公司 Traffic management method and system based on visual analysis

Similar Documents

Publication Publication Date Title
CN112233433A (en) Traffic light control method and device and electronic equipment
CN108806283B (en) Control method of traffic signal lamp and Internet of vehicles platform
CN110164152A (en) One kind being used for isolated traffic intersection traffic light control system
CA3016825A1 (en) Predictive, integrated and intelligent system for control of times in traffic lights
WO2018188610A1 (en) Method and system for controlling traffic signal light
CN112330962B (en) Traffic signal lamp control method and device, electronic equipment and computer storage medium
CN111915894A (en) Variable lane and traffic signal cooperative control method based on deep reinforcement learning
CN106781582A (en) Traffic lights auxiliary display method, device and car-mounted terminal
CN110111588A (en) A kind of traffic lamp control method and control system
CN205665896U (en) Intersection signal lamp state recognition device
CN111915885B (en) Urban road traffic simulation experiment method and system
CN111260936B (en) Configuration method and device of traffic signal machine
CN109584579B (en) Traffic signal lamp control method based on face recognition and computer equipment
CN110992675A (en) Intersection traffic simulation method, intersection traffic simulation device, intersection traffic simulation medium and electronic equipment
CN108734976B (en) Traffic navigation prompting method and system
CN109461322A (en) A kind of intelligent navigation method, device, equipment and readable storage medium storing program for executing
CN111951575A (en) Traffic signal lamp self-adaptive control method based on advanced reinforcement learning
CN105303848B (en) A kind of traffic signals single-point self-learning optimization control method
CN110728850A (en) Road traffic signal self-adaptive optimization system
CN112991784B (en) Self-adaptive variable lane control method and device in signal period
CN108646744B (en) Automatic driving method and system based on countdown duration
CN114898583B (en) Signal lamp control scheme determining method and data processing method of intelligent traffic equipment
CN113947932B (en) Traffic signal lamp control method and device and traffic signal lamp
CN108882482A (en) It is a kind of for monitoring the method, apparatus, equipment and medium of street lamp
WO2022170540A1 (en) Method and device for traffic light detection

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