CN113838296B - Traffic signal control method, device, equipment and storage medium - Google Patents

Traffic signal control method, device, equipment and storage medium Download PDF

Info

Publication number
CN113838296B
CN113838296B CN202111094984.0A CN202111094984A CN113838296B CN 113838296 B CN113838296 B CN 113838296B CN 202111094984 A CN202111094984 A CN 202111094984A CN 113838296 B CN113838296 B CN 113838296B
Authority
CN
China
Prior art keywords
signal control
road network
signal
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.)
Active
Application number
CN202111094984.0A
Other languages
Chinese (zh)
Other versions
CN113838296A (en
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.)
Sun Yat Sen University
Original Assignee
Sun Yat Sen 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 Sun Yat Sen University filed Critical Sun Yat Sen University
Priority to CN202111094984.0A priority Critical patent/CN113838296B/en
Publication of CN113838296A publication Critical patent/CN113838296A/en
Application granted granted Critical
Publication of CN113838296B publication Critical patent/CN113838296B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • G08G1/0129Traffic data processing for creating historical data or processing based on historical data
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/07Controlling traffic signals
    • G08G1/081Plural intersections under common control
    • G08G1/083Controlling the allocation of time between phases of a cycle
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A30/00Adapting or protecting infrastructure or their operation
    • Y02A30/60Planning or developing urban green infrastructure

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses a traffic signal control method, a device, equipment and a storage medium, wherein the method comprises the following steps: dividing a road network, and determining a protection area, a buffer area and boundary control signal information in the road network and adaptive signal control information in the protection area; calibrating the traffic flow in the road network according to the division result of the road network so as to pre-configure; according to the content of the pre-configuration, an upper layer signal control intelligent agent is set up by adopting deep reinforcement learning; according to the content of the pre-configuration, building bottom signal control intelligent agents by adopting deep reinforcement learning, wherein each bottom signal control intelligent agent represents a signal lamp of a signal control intersection in the protection area; and performing double-layer signal control on the target road network after the traffic information is collected according to the upper-layer signal control intelligent agent and the bottom-layer signal control intelligent agent. The invention has wide application range, can improve the running efficiency of the road network, and can be widely applied to the technical field of intelligent traffic.

Description

Traffic signal control method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of intelligent traffic, in particular to a traffic signal control method, a traffic signal control device, traffic signal control equipment and a storage medium.
Background
With the development of urbanization, the traffic demand of urban road networks is continuously increased, and the problem of unbalanced traffic supply and demand is becoming more serious in many big cities. With the arrival of the big data era, smart cities are rapidly developed, a large amount of traffic monitoring data are brought, and conditions are provided for improving the current urban traffic real-time control system and remarkably improving the performance of the existing traffic system. Under limited road space, adaptive signal control is a beneficial means for improving the operational capability and reliability of a road network so as to achieve sustainable development.
The adaptive signal control means that a traffic signal control system adaptively adjusts signal control parameters according to traffic flow data monitored in real time, so that optimal control of the traffic flow is realized, the vehicle traffic displacement in a period of time is maximized, or other traffic control evaluation indexes such as delay, parking times and the like are minimized. The coordination of a plurality of intersection signal machines of the trunk road or the area can lead the running scheme to be self-adaptively adjusted according to the change of the traffic flow, thereby improving the traffic running efficiency of the whole trunk road or the area.
The traditional traffic signal control has two main defects:
go on only on the road segment level. Research shows that under the condition of oversaturated traffic, signal control based on road sections can cause vehicles to queue and overflow to upstream road sections, and even a deadlock phenomenon is formed; the spatial dimension problem also poses a significant challenge to adaptive real-time traffic signal control strategies over road segments.
② depending on the method of model driving. The model-driven method has better causal analysis and generalization, but has the problem of model uncertainty; meanwhile, the problem of dimension disaster is caused by the fact that large-scale calculation is needed to solve the dynamic optimization problem of the model, and particularly after a large amount of traffic flow data are introduced, a larger state and a larger solving space need to be processed.
Therefore, by adopting a data driving method, the robustness of a traffic control algorithm on uncertainty such as modeling and the like and the adaptability to external information can be realized.
Reinforcement Learning (RL) is Learning by an Agent in a "trial and error" manner, with a reward directive behavior obtained through interaction with the environment with the goal of maximizing the reward for the Agent, and is different from supervised Learning, mainly represented on a Reinforcement signal, and the Reinforcement signal provided by the environment in Reinforcement Learning is an evaluation of how to generate an action, rather than telling the Reinforcement Learning system how to generate a correct action. Since the information provided by the external environment is very small, learning must be performed by its experience. In this way, the system gains knowledge in the context of action-evaluation, improving the action scheme to adapt to the context.
In the conventional traffic signal control, the following problems mainly exist:
the existing data-driven traffic signal control method mainly aims at constructing a learning network and optimizing model parameters for a single intersection node or a small-scale area, and lacks dynamic cooperation and unified consideration of a road network area level. Most traffic signal control methods cannot optimize the performance of the whole road network due to the difficulty of algorithm complexity and dimension disasters.
In the existing traffic signal control strategy, only the minimum delay or the maximum output of a single intersection node or a small-scale area is considered by a control target, and the overall operation efficiency of a road network cannot be evaluated. The optimal performance of a single intersection node cannot ensure that the efficiency of the whole road network reaches the optimal performance. For example, when each intersection maximizes the respective objective function, the whole road network may be deadlock due to excessive traffic.
Therefore, the existing method cannot coordinate the performance of a single intersection and the overall road network, so that the efficiency of the road network cannot be maximized, and the optimal system is obtained.
Most traffic signal control strategies rely on modeling of intersections and road network traffic. However, calibration and error of the model affect the performance of the control strategy. Meanwhile, the physical model cannot ensure suitability for all traffic scenes, so that the traditional traffic signal control strategy cannot be used in a large scale.
Disclosure of Invention
In view of this, embodiments of the present invention provide a traffic signal control method, apparatus, device and storage medium with a wide application range, so as to improve the operation efficiency of a road network.
One aspect of the present invention provides a traffic signal control method, including:
dividing a road network, and determining a protection area, a buffer area and boundary control signal information in the road network and adaptive signal control information in the protection area;
calibrating the traffic flow in the road network according to the division result of the road network, and pre-configuring the boundary control signal information;
according to the content of the pre-configuration, adopting deep reinforcement learning to build upper-layer signal control intelligent agents, wherein each upper-layer signal control intelligent agent represents a boundary intersection signal lamp;
according to the content of the pre-configuration, building bottom signal control intelligent bodies by adopting deep reinforcement learning, wherein each bottom signal control intelligent body represents a signal lamp of a signal control intersection in the protection area;
and performing double-layer signal control on the target road network after the traffic information is collected according to the upper-layer signal control intelligent agent and the bottom-layer signal control intelligent agent.
Optionally, the dividing the road network, and determining a protection area, a buffer area, boundary control signal information in the road network, and adaptive signal control information in the protection area includes:
determining a protection area in a road network, wherein the protection area is a target area in a city where the road network is located;
determining a buffer area in a road network, wherein the buffer area is a must-pass area entering the protection area in a city where the road network is located;
determining the position of a boundary control signal, wherein the boundary control signal is used for controlling the inflow and outflow of traffic inside and outside the protection area;
determining control information for an adaptive signal, wherein the adaptive signal is used to control a single intersection within the protected zone.
Optionally, the calibrating traffic flow in the road network and pre-configuring the boundary control signal information according to the division result of the road network includes:
collecting historical traffic data or simulated traffic data of a road network;
calibrating the historical traffic data or the simulated traffic data;
configuring a control period of the boundary control signal;
and configuring the safety signal duration of the boundary control signal and the self-adaptive signal.
Optionally, the building an upper signal control agent by deep reinforcement learning according to the preconfigured content includes:
defining the state of the upper layer signal control agent, and combining the total vehicle number of the road network and the total vehicle number of the buffer area into state information;
defining the action of the upper layer signal control agent, and determining each signal period;
defining environment rewards of the upper layer signal control intelligent agents, and determining the total trip completion number in the road network;
constructing a strategy network and a value network of the upper layer signal control agent, wherein the strategy network is used for calculating to obtain the optimal action according to the state of the upper layer signal control agent; the value network is used for evaluating the quality of the action;
and training the strategy network by adopting a random gradient descent method, and training the value network by adopting a time sequence difference error method.
Optionally, the building of a bottom-layer signal control agent by deep reinforcement learning according to the preconfigured content includes:
defining the state of the intelligent agent controlled by the bottom signal, and combining the queuing length and the road width of the intersection where the intelligent agent is located into state information;
defining the action of the bottom layer signal control agent, and determining each action as the phase sequence number of the next decision step;
defining environment reward of the bottom signal control intelligent agent, and determining total delay of an entrance way of the bottom signal control intelligent agent after the phase is executed;
and constructing a value network of the bottom signal control agent, wherein the value network is used for evaluating the quality of actions.
Another aspect of an embodiment of the present invention provides a traffic signal control apparatus, including:
the system comprises a first module, a second module and a third module, wherein the first module is used for dividing a road network and determining a protection area, a buffer area and boundary control signal information in the road network and adaptive signal control information in the protection area;
a second module, configured to calibrate traffic flow in the road network according to the division result of the road network, and pre-configure the boundary control signal information;
the third module is used for building upper-layer signal control intelligent agents by adopting deep reinforcement learning according to the preconfigured content, wherein each upper-layer signal control intelligent agent represents a boundary intersection signal lamp;
the fourth module is used for building bottom signal control intelligent bodies by adopting deep reinforcement learning according to the preconfigured content, wherein each bottom signal control intelligent body represents a signal lamp of a signal control intersection in the protection area;
and the fifth module is used for controlling the intelligent agent according to the upper layer signal and the bottom layer signal and performing double-layer signal control on the target road network after the traffic information is collected.
Optionally, the first module comprises:
the system comprises a first unit, a second unit and a third unit, wherein the first unit is used for determining a protection area in a road network, and the protection area is a target area in a city where the road network is located;
the second unit is used for determining a buffer area in a road network, wherein the buffer area is a necessary passing area entering the protection area in a city where the road network is located;
a third unit, configured to determine a position of a boundary control signal, where the boundary control signal is used to control inflow and outflow of traffic inside and outside the protected area;
a fourth unit for determining control information of an adaptive signal, wherein the adaptive signal is used for controlling a single intersection within the protection zone.
Optionally, the second module comprises:
the fifth unit is used for acquiring historical traffic data or simulated traffic data of a road network;
a sixth unit, configured to calibrate the historical traffic data or the simulated traffic data;
a seventh unit configured to configure a control period of the boundary control signal;
and the eighth unit is used for configuring the safety signal duration of the boundary control signal and the self-adaptive signal.
Another aspect of the embodiments of the present invention provides an electronic device, including a processor and a memory;
the memory is used for storing programs;
the processor executes the program to implement the method as described above.
Another aspect of the embodiments of the present invention provides a computer-readable storage medium storing a program, the program being executed by a processor to implement the method as described above.
The embodiment of the invention also discloses a computer program product or a computer program, which comprises computer instructions, and the computer instructions are stored in a computer readable storage medium. The computer instructions may be read by a processor of a computer device from a computer-readable storage medium, and the computer instructions executed by the processor cause the computer device to perform the foregoing method.
The embodiment of the invention divides the road network, and determines the protection area, the buffer area and the boundary control signal information in the road network and the self-adaptive signal control information in the protection area; calibrating the traffic flow in the road network according to the division result of the road network, and pre-configuring the boundary control signal information; according to the content of the pre-configuration, adopting deep reinforcement learning to build upper-layer signal control intelligent agents, wherein each upper-layer signal control intelligent agent represents a boundary intersection signal lamp; according to the content of the pre-configuration, building bottom signal control intelligent bodies by adopting deep reinforcement learning, wherein each bottom signal control intelligent body represents a signal lamp of a signal control intersection in the protection area; and performing double-layer signal control on the target road network after the traffic information is collected according to the upper-layer signal control intelligent agent and the bottom-layer signal control intelligent agent. The invention has wide application range and can improve the operation efficiency of the road network.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of road network region division according to an embodiment of the present invention;
fig. 2 is a schematic diagram of dual-layer signal control according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The embodiment of the invention provides a traffic signal control method, which comprises the following steps:
dividing a road network, and determining a protection area, a buffer area and boundary control signal information in the road network and adaptive signal control information in the protection area;
calibrating the traffic flow in the road network according to the division result of the road network, and pre-configuring the boundary control signal information;
according to the content of the pre-configuration, adopting deep reinforcement learning to build upper-layer signal control intelligent agents, wherein each upper-layer signal control intelligent agent represents a boundary intersection signal lamp;
according to the content of the pre-configuration, building bottom signal control intelligent bodies by adopting deep reinforcement learning, wherein each bottom signal control intelligent body represents a signal lamp of a signal control intersection in the protection area;
and performing double-layer signal control on the target road network after the traffic information is collected according to the upper-layer signal control intelligent agent and the bottom-layer signal control intelligent agent.
Optionally, the dividing the road network, and determining a protection area, a buffer area, boundary control signal information in the road network, and adaptive signal control information in the protection area includes:
determining a protection area in a road network, wherein the protection area is a target area in a city where the road network is located;
determining a buffer area in a road network, wherein the buffer area is a must-pass area entering the protection area in a city where the road network is located;
determining the position of a boundary control signal, wherein the boundary control signal is used for controlling the inflow and outflow of traffic inside and outside the protection area;
determining control information for an adaptive signal, wherein the adaptive signal is used to control a single intersection within the protected zone.
Optionally, the calibrating the traffic flow in the road network and pre-configuring the boundary control signal information according to the dividing result of the road network includes:
collecting historical traffic data or simulated traffic data of a road network;
calibrating the historical traffic data or the simulated traffic data;
configuring a control period of the boundary control signal;
and configuring the safety signal duration of the boundary control signal and the self-adaptive signal.
Optionally, the building an upper-layer signal control agent by deep reinforcement learning according to the preconfigured content includes:
defining the state of the upper layer signal control agent, and combining the total vehicle number of the road network and the total vehicle number of the buffer area into state information;
defining the action of the upper layer signal control agent, and determining each signal period;
defining the environment reward of the upper signal control agent, and determining the total trip completion number in the road network;
constructing a strategy network and a value network of the upper layer signal control agent, wherein the strategy network is used for calculating to obtain the optimal action according to the state of the upper layer signal control agent; the value network is used for evaluating the quality of the action;
and training the strategy network by adopting a random gradient descent method, and training the value network by adopting a time sequence difference error method.
Optionally, the building of a bottom-layer signal control agent by deep reinforcement learning according to the preconfigured content includes:
defining the state of the intelligent agent controlled by the bottom signal, and combining the queuing length and the road width of the intersection where the intelligent agent is located into state information;
defining the action of the bottom layer signal control agent, and determining each action as the phase sequence number of the next decision step;
defining the environment reward of the bottom signal control intelligent agent, and determining the total delay of the entrance channel of the bottom signal control intelligent agent after the phase is executed;
and constructing a value network of the bottom signal control agent, wherein the value network is used for evaluating the quality of actions.
The embodiment of the invention provides a traffic signal control device, which comprises:
the system comprises a first module, a second module and a third module, wherein the first module is used for dividing a road network and determining a protection area, a buffer area and boundary control signal information in the road network and adaptive signal control information in the protection area;
the second module is used for calibrating the traffic flow in the road network according to the dividing result of the road network and pre-configuring the boundary control signal information;
the third module is used for building upper-layer signal control intelligent agents by adopting deep reinforcement learning according to the preconfigured content, wherein each upper-layer signal control intelligent agent represents a boundary intersection signal lamp;
the fourth module is used for building bottom signal control intelligent bodies by adopting deep reinforcement learning according to the preconfigured content, wherein each bottom signal control intelligent body represents a signal lamp of a signal control intersection in the protection area;
and the fifth module is used for controlling the intelligent agent according to the upper layer signal and the intelligent agent according to the lower layer signal and carrying out double-layer signal control on the target road network after the traffic information is collected.
Optionally, the first module comprises:
the system comprises a first unit, a second unit and a third unit, wherein the first unit is used for determining a protection area in a road network, and the protection area is a target area in a city where the road network is located;
the second unit is used for determining a buffer area in a road network, wherein the buffer area is a necessary passing area entering the protection area in a city where the road network is located;
a third unit, configured to determine a position of a boundary control signal, where the boundary control signal is used to control inflow and outflow of traffic inside and outside the protected area;
a fourth unit for determining control information of an adaptive signal, wherein the adaptive signal is used for controlling a single intersection within the protection zone.
Optionally, the second module comprises:
the fifth unit is used for acquiring historical traffic data or simulated traffic data of a road network;
a sixth unit, configured to calibrate the historical traffic data or the simulated traffic data;
a seventh unit configured to configure a control period of the boundary control signal;
and the eighth unit is used for configuring the safety signal duration of the boundary control signal and the self-adaptive signal.
The embodiment of the invention provides electronic equipment, which comprises a processor and a memory;
the memory is used for storing programs;
the processor executes the program to implement the method as described above.
An embodiment of the present invention provides a computer-readable storage medium, which stores a program, and the program is executed by a processor to implement the method as described above.
Embodiments of the present invention also disclose a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions may be read by a processor of a computer device from a computer-readable storage medium, and the computer instructions executed by the processor cause the computer device to perform the foregoing method.
The following detailed description of the specific implementation principles of the present invention is made with reference to the accompanying drawings:
the method comprises the following steps: scene mode generation: dividing and setting the road network (as shown in FIG. 1)
1. Define protection zones (Protected Network): in urban road networks, the location and boundaries of protected areas are defined. For example, a downtown CBD (Central Business distribution discard), a core area, a key management area, or within several rings. Such areas are selected as protected areas because the geographic location is more important and it is desirable to more reasonably arrange the influx and efflux of vehicles.
2. And defining a buffer area (buffer), wherein the buffer area is a surrounding type road entering the protection area from the periphery of the protection area. When external traffic flows enter the protection area, the traffic flows are firstly shunted through the buffer area, so that the traffic density of a certain part in the protection area is not changed sharply.
3. Defining boundary control signal positions: the upper control in the double-layer control consists of boundary control signal lamps. The position controlled by the boundary signal is a signal lamp at the boundary of the buffer area and the periphery. Such signal lamps control the inflow and outflow of traffic from and to the outside of the protected area, and act as "gates".
4. Defining adaptive signal control within the guard region: the bottom layer control in the double-layer control consists of signal lamps in a protection area. The bottom control signal lamp is optimized only for a single intersection.
Step two: collecting data
1. Calibrating the traffic flow of a road network: the traffic flow of the road network can be calibrated through historical data or simulation data. The road network flow rate q (t) has a composition of q (t) ([ q ]) 11 ,q 12 ,q 21 ]Where subscript 1 represents a protection zone in the road network and subscript 2 represents a region other than the protection zone. Thus, q 12 Representing the flow from the protected area to the outside, and so on.
2. Presetting a signal timing limit: for the upper layer boundary signal control, the period of the signal control is 100 seconds, namely C equals 100 sec; for the underlying adaptive signal control, the control is aperiodic and therefore does not require a constraint on the signal period. Furthermore, all signal controls assume a yellow time of five seconds to ensure road safety, i.e. Y ═ 5 sec.
Step three: build up the upper boundary signal control agent (as shown in figure 2)
An upper-layer boundary signal control Agent (Agent) is built by adopting a Deep Deterministic Policy Gradient (DDPG) architecture in Deep Reinforcement Learning (DRL), and each boundary intersection signal lamp is an Agent.
1. Agent State (State) is defined.
The total number n of vehicles in the road network PN And total number n of vehicles in buffer zone buffer Combined into status information, i.e.
Figure BDA0003268776550000091
2. An agent Action (Action) is defined.
Each signal period (i.e. decision step size) C is 100sec, each action being the total green time of the next period, i.e. the
Figure BDA0003268776550000092
3. Environmental rewards (rewarded) are defined.
The sum of the number of vehicles traveling in the protection area and the number of vehicles traveling out of the protection area, namely the total traveling completion number in the road network is used as the reward fed back to the intelligent agent by the environment in the current state
Figure BDA0003268776550000093
The goal is to maximize the reward.
4. And constructing a strategy network and a value network.
Policy networks for obtaining optimal actions directly from state, i.e.
Figure BDA0003268776550000094
Wherein theta is μ Parameters of the strategy model mu; the value network is used for evaluating the quality of the current action, namely obtaining
Figure BDA0003268776550000095
Wherein theta is Q For value evaluation model Q upper The parameter (c) of (c). Both are fully connected neural networks, the number of neurons in each layer is [256,128,1 respectively]And [128,64,1 ]]The activation functions are all Linear rectification functions (RecU).
5. And (5) off-line training.
Training a strategy network by adopting a Stochastic Gradient Descent (SGD), wherein the Gradient is a strategy Gradient
Figure BDA0003268776550000096
Training a value network by using a Time Difference error (TD error), wherein the TD error at each moment is
Figure BDA0003268776550000097
Where γ is the reduction factor.
Step four: building a bottom distributed signal control agent (as shown in figure 2)
A Deep Q-learning (DQN) framework in Deep reinforcement learning is adopted to build a bottom distributed signal control intelligent agent, and a signal lamp of each signal control intersection in a protection area is an intelligent agent.
1. Agent State (State) is defined.
Queuing length queue of intersection entrance lane where intelligent agent is located t And road density dens t Combined into status information, i.e.
Figure BDA0003268776550000098
2. An agent Action (Action) is defined.
Each action
Figure BDA0003268776550000099
The phase sequence number of the next decision step.
3. Environmental rewards (rewarded) are defined.
The total delay of the entry road of the road junction where the intelligent agent is positioned after the phase execution is used as the reward fed back to the intelligent agent under the current state
Figure BDA0003268776550000101
The goal is to minimize rewards.
4. And constructing a value network.
The value network is used for evaluating the quality of the current action, namely obtaining
Figure BDA0003268776550000102
Wherein theta is Q For value evaluation model Q lower The parameter (c) of (c).
Step five: practical application
Preprocessing the acquired data, extracting required characteristic information, respectively inputting the acquired data into the two trained models, and setting signals according to timing or phase output by the models to realize double-layer signal control of the road network.
In summary, the present invention implements two-level control by dividing the urban road network. The method researches a strategy cooperation and asynchronous updating method for traffic signal control from two levels of a road network and a single intersection, and realizes multi-scale cooperative optimization of traffic flow while reducing algorithm complexity. The control strategy of the upper layer aiming at the road network is boundary control, and signal lamps positioned at the boundary of the road network are used for controlling vehicles flowing in and out of the whole road network. The upper-level control can reduce the dimensionality of road network optimization, so that the road network is optimized on the whole.
The upper and lower layer control of the invention are mutually feedback control, namely the state output of the upper layer is the input of the lower layer control, and the state output of the lower layer control is the input of the upper layer control. Therefore, under the condition that the road network is congested, the single intersection control body on the lower layer can avoid the coordination step disorder in the area caused by excessive self optimization, and cooperates with the control on the upper layer to keep the overall operation efficiency of the road network, so that the phenomena of dead lock of the road network and the like are avoided.
The double-layer control of the invention adopts a reinforcement learning method mainly based on data drive to carry out self-adaptation on traffic data. The traffic state is extracted immediately through data information, and state estimation is not needed through a physical model. Therefore, the method can be suitable for various traffic scenes and has strong landing applicability.
The invention can realize the multi-scale collaborative optimization of traffic flow, and implements double-layer control by dividing the urban road network. The strategy cooperation and asynchronous updating method for traffic signal control is researched from two layers of a road network and a single intersection, so that the multi-scale cooperation optimization of the traffic flow is realized while the algorithm complexity is reduced; meanwhile, the upper and lower layer controls are feedback controls each other, that is, the state output of the upper layer is the input of the lower layer control, and the state output of the lower layer control is the input of the upper layer control. Therefore, under the condition that the road network is congested, the single intersection control body on the lower layer can avoid the coordination step disorder in the area caused by excessive self optimization, and cooperates with the control on the upper layer to keep the overall operation efficiency of the road network, so that the phenomena of dead lock of the road network and the like are avoided.
The invention can effectively solve the problem of dimension disaster, improve the solving efficiency and adopt a data-driven intensive learning method as a main method. The data-driven method can effectively solve the problem of dimension disaster of problem solving and realize solving of the problem of traffic signal control optimization of the regional road network. In the double-layer control, the control strategy of the upper layer aiming at the road network is boundary control, and the signal lamps positioned at the road network boundary control the inflow and outflow vehicles of the whole road network, so that the dimensionality of the road network optimization can be reduced, and the road network can be optimized on the whole.
The invention can carry out self-adaptive decision-making on different traffic scenes and adopts a data-driven-based reinforcement learning method. The traffic state information is extracted from the real-time monitoring data, so that the traffic state is self-adaptive, and the state estimation is not required to be carried out by a physical model. Therefore, the method can be suitable for various traffic scenes and has strong landing applicability.
In alternative embodiments, the functions/acts noted in the block diagrams may occur out of the order noted in the operational illustrations. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved. Furthermore, the embodiments presented and described in the flow charts of the present invention are provided by way of example in order to provide a more thorough understanding of the technology. The disclosed methods are not limited to the operations and logic flows presented herein. Alternative embodiments are contemplated in which the order of various operations is changed and in which sub-operations described as part of larger operations are performed independently.
Furthermore, although the present invention is described in the context of functional modules, it should be understood that, unless otherwise stated to the contrary, one or more of the described functions and/or features may be integrated in a single physical device and/or software module, or one or more functions and/or features may be implemented in a separate physical device or software module. It will also be appreciated that a detailed discussion of the actual implementation of each module is not necessary for an understanding of the present invention. Rather, the actual implementation of the various functional modules in the apparatus disclosed herein will be understood within the ordinary skill of an engineer, given the nature, function, and internal relationship of the modules. Accordingly, those skilled in the art can, using ordinary skill, practice the invention as set forth in the claims without undue experimentation. It is also to be understood that the specific concepts disclosed are merely illustrative of and not intended to limit the scope of the invention, which is defined by the appended claims and their full scope of equivalents.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
While the preferred embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (4)

1. A traffic signal control method, comprising:
dividing a road network, and determining a protection area, a buffer area and boundary control signal information in the road network and adaptive signal control information in the protection area;
calibrating the traffic flow in the road network according to the division result of the road network, and pre-configuring the boundary control signal information;
according to the content of the pre-configuration, adopting deep reinforcement learning to build upper-layer signal control intelligent agents, wherein each upper-layer signal control intelligent agent represents a boundary intersection signal lamp;
according to the content of the pre-configuration, building bottom signal control intelligent bodies by adopting deep reinforcement learning, wherein each bottom signal control intelligent body represents a signal lamp of a signal control intersection in the protection area;
according to the upper layer signal control agent and the bottom layer signal control agent, carrying out double-layer signal control on the target road network after the traffic information is collected;
the dividing the road network to determine the protection area, the buffer area, the boundary control signal information in the road network and the adaptive signal control information in the protection area includes:
determining a protection area in a road network, wherein the protection area is a target area in a city where the road network is located;
determining a buffer area in a road network, wherein the buffer area is a must-pass area entering the protection area in a city where the road network is located;
determining the position of a boundary control signal, wherein the boundary control signal is used for controlling the inflow and outflow of the internal and external traffic of the protection area;
determining control information of an adaptive signal, wherein the adaptive signal is used for controlling a single intersection in the protection area;
according to the content of the pre-configuration, an upper layer signal control intelligent agent is built by adopting deep reinforcement learning, and the method comprises the following steps:
defining the state of the upper layer signal control agent, and combining the total vehicle number of the road network and the total vehicle number of the buffer area into state information;
defining the actions of the upper layer signal control agent, wherein each action is used as the total green light time of the next period;
defining environment rewards of the upper layer signal control intelligent agents, and determining the total trip completion number in the road network;
constructing a strategy network and a value network of the upper layer signal control agent, wherein the strategy network is used for calculating to obtain the optimal action according to the state of the upper layer signal control agent; the value network is used for evaluating the quality of the action;
training the strategy network by adopting a random gradient descent method, and training the value network by adopting a time sequence difference error;
according to the content of the pre-configuration, a bottom layer signal control intelligent agent is built by adopting deep reinforcement learning, and the method comprises the following steps:
defining the state of the intelligent agent controlled by the bottom signal, and combining the queuing length and the road density of the intersection where the intelligent agent is located into state information;
defining the action of the bottom layer signal control agent, and determining each action as the phase sequence number of the next decision step;
defining the environment reward of the bottom signal control intelligent agent, and determining the total delay of the entrance channel of the bottom signal control intelligent agent after the phase is executed;
and constructing a value network of the bottom signal control agent, wherein the value network is used for evaluating the quality of actions.
2. The traffic signal control method according to claim 1, wherein the calibrating the traffic flow in the road network and pre-configuring the boundary control signal information according to the dividing result of the road network comprises:
collecting historical traffic data or simulated traffic data of a road network;
calibrating the historical traffic data or the simulated traffic data;
configuring a control period of the boundary control signal;
and configuring the safety signal duration of the boundary control signal and the self-adaptive signal.
3. An electronic device comprising a processor and a memory;
the memory is used for storing programs;
the processor executing the program realizes the method of claim 1 or 2.
4. A computer-readable storage medium, characterized in that the storage medium stores a program, which is executed by a processor to implement the method according to claim 1 or 2.
CN202111094984.0A 2021-09-17 2021-09-17 Traffic signal control method, device, equipment and storage medium Active CN113838296B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111094984.0A CN113838296B (en) 2021-09-17 2021-09-17 Traffic signal control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111094984.0A CN113838296B (en) 2021-09-17 2021-09-17 Traffic signal control method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113838296A CN113838296A (en) 2021-12-24
CN113838296B true CN113838296B (en) 2022-08-30

Family

ID=78960015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111094984.0A Active CN113838296B (en) 2021-09-17 2021-09-17 Traffic signal control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113838296B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115359672B (en) * 2022-08-19 2023-07-07 东北大学秦皇岛分校 Traffic area boundary control method combining data driving and reinforcement learning
CN116229740B (en) * 2023-05-10 2023-10-10 湖北大学 Traffic light timing control method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102110371B (en) * 2011-03-04 2012-09-05 哈尔滨工业大学 Hierarchical multi-agent framework based traffic signal control system
KR101821494B1 (en) * 2016-08-10 2018-01-24 중앙대학교 산학협력단 Adaptive traffic signal control method and apparatus
CN111862636B (en) * 2020-08-10 2021-07-16 长春理工大学 Traffic signal control method and system
AU2021103022A4 (en) * 2021-06-02 2021-07-22 Xiumei Fan A Method of Controlling Traffic Light Based on Fog Computing and Reinforcement Learning
CN113380054A (en) * 2021-06-09 2021-09-10 湖南大学 Traffic signal lamp control method and system based on reinforcement learning

Also Published As

Publication number Publication date
CN113838296A (en) 2021-12-24

Similar Documents

Publication Publication Date Title
Jin et al. A group-based traffic signal control with adaptive learning ability
CN113838296B (en) Traffic signal control method, device, equipment and storage medium
CN112489426B (en) Urban traffic flow space-time prediction scheme based on graph convolution neural network
CN110415516A (en) Urban traffic flow prediction technique and medium based on figure convolutional neural networks
CN108648446B (en) Road network traffic signal iterative learning control method based on MFD
CN113268916A (en) Traffic accident prediction method based on space-time graph convolutional network
CN110570672B (en) Regional traffic signal lamp control method based on graph neural network
US20220092973A1 (en) Method and system for adaptive cycle-level traffic signal control
KR102277856B1 (en) Socio-hydrological system for supporting decisions on water resources policy and operating method thereof
CN113538910B (en) Self-adaptive full-chain urban area network signal control optimization method
Haghighi et al. Robotic swarm control from spatio-temporal specifications
CN113704956A (en) Urban road online microscopic simulation method and system based on digital twin technology
Jin et al. A GAN-based short-term link traffic prediction approach for urban road networks under a parallel learning framework
WO2023123906A1 (en) Traffic light control method and related device
KR102254765B1 (en) Device and method of prediction traffic data using deep learning model
CN115796007A (en) Traffic flow prediction method based on space-time diagram network
Srinivasan et al. Cooperative multi-agent system for coordinated traffic signal control
CN114565187A (en) Traffic network data prediction method based on graph space-time self-coding network
Lin et al. Scheduling eight-phase urban traffic light problems via ensemble meta-heuristics and Q-learning based local search
Zhang et al. Direction-decision learning based pedestrian flow behavior investigation
Fu et al. Modeling and simulation of dynamic lane reversal using a cell transmission model
Xing et al. RL-GCN: Traffic flow prediction based on graph convolution and reinforcement learning for smart cities
CN113628435A (en) Information processing method and device
CN115331460B (en) Large-scale traffic signal control method and device based on deep reinforcement learning
CN116631203A (en) Self-adaptive traffic signal control method combining traffic flow prediction and reinforcement learning

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
GR01 Patent grant
GR01 Patent grant