Traffic signal timing control method, device and system based on single ring structure
By acquiring historical traffic flow data and optimizing and iterating the traffic flow prediction model, and combining phase timing information to control traffic signals, the problem of poor traffic signal control in single-ring structures has been solved, achieving more precise traffic signal control and avoiding traffic jams.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-25
- Publication Date
- 2026-03-31
AI Technical Summary
The existing single-ring traffic signal control logic has poor control performance, leading to frequent traffic jams.
By acquiring historical traffic flow data, optimizing and iterating using traffic flow prediction models and timing models, controlling traffic signals by combining phase timing information, setting a first coefficient to reflect the impact of traffic flow other than the target direction of travel, and optimizing phase timing.
It achieves more precise traffic signal phase timing, reduces traffic congestion, and improves the effectiveness of traffic signal control.
Smart Images

Figure CN117198073B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of traffic control technology, and in particular relates to a traffic signal timing control method, device and system based on a single-ring structure. Background Technology
[0002] Traffic lights are typically installed at intersections in a road network to manage vehicle traffic. Traffic light control structures include single-loop and double-loop structures. A double-loop structure can simultaneously control both forward and left-turn signals, meaning two control loops manage the traffic signals concurrently. Double-loop structures usually require complex control logic to avoid phase conflicts between the two control loops, which could affect vehicle operation. Single-loop structures, on the other hand, have simpler control logic and do not require consideration of phase conflict issues, making them widely used in road networks.
[0003] Typically, existing single-ring traffic signal control technologies operate on a fixed duration or in real-time based on calculated traffic flow, yet traffic congestion still occurs, indicating that the traffic signal control logic needs optimization. Summary of the Invention
[0004] In view of this, the present invention provides a traffic signal timing control method, device and system based on a single-loop structure, aiming to solve the problem of poor control effect of traffic signal control logic in the prior art.
[0005] A first aspect of this invention provides a traffic signal timing control method based on a single-ring structure, comprising:
[0006] Obtain the first historical traffic flow for each direction of travel at the first intersection and the second historical traffic flow for each direction of travel at the second intersection; wherein the second intersection is an adjacent intersection to the first intersection;
[0007] Based on the first historical traffic flow, the second historical traffic flow, and the traffic flow prediction model, the first traffic flow for each direction of travel at the first intersection is predicted.
[0008] The first traffic flow is input into the timing model for optimization and iteration to obtain phase timing information; wherein, the timing model is set with a first coefficient; the first coefficient represents the influence of the first traffic flow other than the first direction of travel on the first traffic flow in the first direction of travel; the first direction of travel is any direction of travel at the first intersection;
[0009] Traffic signals at the first and second intersections are controlled based on phase timing information.
[0010] A second aspect of the present invention provides a traffic signal timing control device based on a single-ring structure, comprising:
[0011] The acquisition module is used to acquire the first historical traffic flow in each direction of travel at the first intersection and the second historical traffic flow in each direction of travel at the second intersection; wherein, the second intersection is an adjacent intersection to the first intersection;
[0012] The prediction module is used to predict the first traffic flow in each direction at the first intersection based on the first historical traffic flow, the second historical traffic flow, and the traffic flow prediction model.
[0013] The timing module is used to input the first traffic flow into the timing model for optimization and iteration to obtain phase timing information. The timing model is set with a first coefficient, which represents the influence of the first traffic flow other than the first direction of travel on the first traffic flow in the first direction of travel. The first direction of travel is any direction of travel at the first intersection.
[0014] The control module is used to control the traffic signals at the first and second intersections based on phase timing information.
[0015] A third aspect of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the traffic signal timing control method based on a single-ring structure as described in the first aspect above.
[0016] A fourth aspect of the present invention provides a traffic signal control system, comprising: video surveillance equipment, traffic lights, traffic light control circuits, and electronic equipment as described in the third aspect above.
[0017] A fifth aspect of the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the traffic signal timing control method based on a single-ring structure as described in the first aspect above.
[0018] The traffic signal timing control method, device, and system based on a single-ring structure provided in this invention first acquire the first historical traffic flow in each direction of travel at a first intersection and the second historical traffic flow in each direction of travel at a second intersection; wherein the second intersection is an adjacent intersection to the first intersection. Based on the first historical traffic flow, the second historical traffic flow, and a traffic flow prediction model, the first traffic flow in each direction of travel at the first intersection is predicted. The first traffic flow is input into a timing model for optimization and iteration to obtain phase timing information; wherein a first coefficient is set within the timing model; the first coefficient represents the influence of the first traffic flow other than the first travel direction on the first traffic flow in the first travel direction; the first travel direction is any travel direction at the first intersection. Based on the phase timing information, the traffic signals at the first and second intersections are controlled. By timing the traffic signal phases through traffic flow and combining the phase control sequence and the set first coefficient, more accurate phase timing is achieved, improving the control effect of traffic signals and avoiding traffic congestion. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is an application scenario diagram of the traffic signal timing control method based on a single-ring structure provided in the embodiments of the present invention;
[0021] Figure 2 This is a flowchart illustrating the implementation of the traffic signal timing control method based on a single-ring structure provided in this embodiment of the invention.
[0022] Figure 3 This is a schematic diagram of the traffic signal timing control device based on a single-ring structure provided in an embodiment of the present invention;
[0023] Figure 4 This is a schematic diagram of the structure of the electronic device provided in an embodiment of the present invention. Detailed Implementation
[0024] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of the invention. However, those skilled in the art will understand that the invention can be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods are omitted so as not to obscure the description of the invention with unnecessary detail.
[0025] Figure 1 This is an application scenario diagram of the traffic signal timing control method based on a single-ring structure provided in an embodiment of the present invention. For example... Figure 1 As shown, in some embodiments, a traffic signal timing control system based on a single-loop structure includes: a video surveillance device 11, a traffic light 12, a traffic light control circuit 13, and an electronic device 14.
[0026] The video surveillance device 11 can specifically be a camera installed in the road network. The traffic light control circuit 13 is connected to the traffic light 12 and is used to receive control commands from the electronic device 14 and control the traffic light 12. The electronic device 14 can be a terminal or a server. The terminal can be a road network management terminal installed in the area or a roadside terminal, which is not limited here. The server can be a physical server or a cloud server, which is not limited here.
[0027] Figure 2 This is a flowchart illustrating the implementation of a traffic signal timing control method based on a single-ring structure provided in an embodiment of the present invention. Figure 2 As shown, in some embodiments, the traffic signal timing control method based on a single-ring structure is applied to... Figure 1 The electronic device 14 shown herein includes the method comprising:
[0028] S210, obtain the first historical traffic flow of each driving direction at the first intersection and the second historical traffic flow of each driving direction at the second intersection; wherein, the second intersection is the adjacent intersection of the first intersection.
[0029] In this embodiment of the invention, any two adjacent intersections in the road network are designated as the first intersection and the second intersection, respectively. Specifically, the intersection with higher traffic volume can be designated as the first intersection and the intersection with lower traffic volume can be designated as the second intersection.
[0030] Based on the first historical traffic flow, the second historical traffic flow, and the traffic flow prediction model, the first traffic flow for each direction of travel at the first intersection is predicted in S220.
[0031] In this embodiment of the invention, the traffic prediction model can be a neural network model, a long short-term memory network model, etc., and is not limited thereto.
[0032] S230, the first traffic flow is input into the timing model for optimization and iteration to obtain phase timing information; wherein, the timing model is set with a first coefficient; the first coefficient represents the influence of the first traffic flow other than the first travel direction on the first traffic flow in the first travel direction; the first travel direction is any travel direction at the first intersection.
[0033] In this embodiment of the invention, taking a crossroads with opposite traffic flow as an example, its phases include: east-west straight, east-west left turn, north-south straight, and north-south left turn. The phases of other crossroads, such as one-way crossroads, are more complex and will not be described here. The first direction of travel is any direction. For example, if the direction of travel is a left turn from south to north, the corresponding phase is north-south left turn.
[0034] In some embodiments, the timing model includes:
[0035]
[0036] Where T is the total signal period at the first intersection, t i The timing is for the phase corresponding to the i-th driving direction, where n is the total number of phases, t0 is the preparation signal duration, and t s For vehicle start-up delay, m i T is the first coefficient of the phase corresponding to the i-th driving direction. i Q represents the waiting time before the phase corresponding to the i-th driving direction is activated. i The first traffic flow in the i-th direction of travel, T0 is the preset maximum signal cycle, Q0 is the preset maximum allowable flow, Δt is the release phase difference between the first intersection and the second intersection, L is the length from the first intersection to the second intersection, and v is the average speed of vehicles between the first intersection and the second intersection.
[0037] In this embodiment of the invention, the signal preparation time and vehicle start-up delay are preset fixed values. The total signal cycle is the time required to complete one cycle of phase control, allowing vehicles in each direction to complete one passage. The total signal cycle of the intersection is not allowed to exceed the preset maximum signal cycle of the intersection to avoid excessively long vehicle waiting times and congestion caused by excessively long signal cycles.
[0038] A single-loop structure can only control one phase at a time. Therefore, during the control of that phase, waiting vehicles in other phases gradually accumulate. Thus, when planning phase timing, it's necessary to consider the changes in traffic flow during the waiting time before the phase begins. In this invention, this is specifically represented by a first coefficient. Multiplying the first coefficient by the waiting time is considered its impact on traffic flow. Multiplying this by the first traffic flow yields the actual traffic flow after the waiting time, making the timing more accurate. The first coefficient for each phase is determined based on historical data. Historical phase timings and traffic volumes at the intersection can be input into a support vector machine to fit and obtain the first coefficient.
[0039] In some embodiments, S230 may include: inputting the first traffic flow into the timing model, aiming to maximize the maximum number of vehicles passing through the first intersection per hour, iteratively optimizing the timing model using a particle swarm optimization algorithm to obtain the phase timing information of each travel direction corresponding to the phase at the first intersection; and determining the phase timing information of the second intersection based on the release phase difference and the phase timing information of the first intersection.
[0040] After the iterative optimization is completed, the obtained t i This refers to the phase timing information of the first intersection. By combining this with the phase difference of the traffic flow, the phase timing information of the second intersection can be determined. Taking an intersection with opposite traffic flow as an example, if it allows north-south traffic flow at the first moment, the difference between the north-south traffic flow time of the adjacent second intersection to its north and the first moment is Δt.
[0041] S240 controls traffic signals at the first and second intersections based on phase timing information.
[0042] In some embodiments, the phase timing information includes a start time and a holding duration, and S240 includes: controlling the traffic signal at the first intersection according to the phase timing information of the first intersection; and controlling the traffic signal at the second intersection according to the phase timing information of the second intersection.
[0043] In this embodiment of the invention, after calculating the phase timing information, it is edited into corresponding control commands and sent to the control circuit of the corresponding traffic light to complete the control process.
[0044] In some embodiments, after S240, the method further includes: determining the maximum delay time of vehicles at the first intersection in each direction of travel; after the maximum delay time in any direction of travel exceeds a preset value, controlling the phase of the first intersection in that direction of travel to be superimposed according to a preset duration to adjust the traffic signal of the first intersection; and adjusting the traffic signal of the second intersection according to the release phase difference and the preset duration.
[0045] With the continuous advancement of GPS and intelligent driving technologies, the trajectory information of many vehicles can be collected and transmitted to corresponding road testing units or remote servers. However, not all vehicles can or are permitted to perform this function; only some vehicles can provide such data. In this embodiment of the invention, historical trajectory data of vehicles can be used to calculate the average travel time at this intersection over a long period (e.g., one week). Then, based on real-time trajectory data, the actual travel time of vehicles at this intersection can be calculated. The difference between the actual travel time and the average travel time is the delay time. The maximum delay time among the collected vehicles is the maximum delay time. All delay times are positive values; if the actual travel time is less than the average travel time, the delay time is 0.
[0046] Because traffic flow changes are highly spatiotemporally random, real-time timing adjustments based on traffic flow prediction are not always perfectly accurate. If the delay time is too long, it indicates that the current phase timing is inaccurate, and phase overlay is required. Taking an intersection with opposite traffic flow as an example, if the maximum delay time for north-south traffic exceeds a preset value within the duration of the north-south traffic flow phase, then after the north-south traffic flow phase timing ends, a preset duration of north-south traffic flow will be overlaid. The preset duration can be a fixed value or the product of the maximum delay time and a preset constant; it is not limited here.
[0047] In some embodiments, S240 includes: determining a first change amount based on a first random value and a traffic flow probability change function; determining a second change amount based on a second random value and a traffic flow probability change function; and inputting the first historical traffic flow, the second historical traffic flow, the first change amount, and the second change amount into a neural network model to predict the first traffic flow in each direction of travel at the first intersection.
[0048] In this embodiment of the invention, traffic flow changes exhibit certain spatiotemporal patterns. Therefore, short-term traffic flow prediction can be achieved using a first historical traffic flow and a neural network model. The more historical data collected, the more accurate the short-term prediction, but the longer the computation time. Furthermore, changes in traffic flow at adjacent intersections also affect the traffic flow at this intersection. In addition, traffic flow changes also exhibit a certain degree of spatiotemporal randomness due to various factors such as temporary U-turns, running red lights, lane changes, deceleration, and traffic accidents. A traffic flow probability change function is determined statistically, and then two random values are input into the probability change function to obtain random traffic flow changes, namely the first and second changes mentioned above. Therefore, by inputting the first historical traffic flow, the second historical traffic flow, the first change, and the second change into the neural network model, a relatively accurate first traffic flow prediction can be obtained.
[0049] In some embodiments, the traffic flow prediction model is a neural network model; predicting the first traffic flow in each direction of travel at the first intersection based on the first historical traffic flow, the second historical traffic flow, and the traffic flow prediction model includes: determining a third variable based on the maximum delay time; determining a second variable based on a second random value and a traffic flow probability change function; and inputting the first historical traffic flow, the second historical traffic flow, the third variable, and the second variable into the neural network model to predict the first traffic flow in each direction of travel at the first intersection.
[0050] In this embodiment of the invention, when the timing is inaccurate due to spatiotemporal randomness, it indicates that the random value selected at this time is not appropriate and cannot fully reflect the randomness of traffic flow. The maximum delay time can be divided by the average delay time, and then multiplied by the original first random value. The new random value obtained can be input into the probability change function to obtain the third change.
[0051] In summary, the beneficial effects of the present invention are as follows:
[0052] 1. By timing the phases of traffic signals according to traffic flow and combining the phase control sequence with the set first coefficient, more accurate phase timing can be achieved, thereby improving the control effect of traffic signals and avoiding traffic jams.
[0053] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0054] Figure 3 This is a schematic diagram of the traffic signal timing control device based on a single-ring structure provided in an embodiment of the present invention. Figure 3 As shown, in some embodiments, the traffic signal timing control device 3 based on a single-ring structure includes:
[0055] The acquisition module 310 is used to acquire the first historical traffic flow in each direction of travel at the first intersection and the second historical traffic flow in each direction of travel at the second intersection; wherein, the second intersection is an adjacent intersection to the first intersection;
[0056] Prediction module 320 is used to predict the first traffic flow in each direction of travel at the first intersection based on the first historical traffic flow, the second historical traffic flow, and the traffic flow prediction model.
[0057] The timing module 330 is used to input the first traffic flow into the timing model for optimization and iteration to obtain phase timing information; wherein, the timing model is set with a first coefficient; the first coefficient represents the influence of the first traffic flow other than the first direction of travel on the first traffic flow in the first direction of travel; the first direction of travel is any direction of travel at the first intersection;
[0058] The control module 340 is used to control the traffic signals at the first and second intersections based on the phase timing information.
[0059] Optional timing models include:
[0060]
[0061] Where T is the total signal period at the first intersection, t iThe timing is for the phase corresponding to the i-th driving direction, where n is the total number of phases, t0 is the preparation signal duration, and t s For vehicle start-up delay, m i T is the first coefficient of the phase corresponding to the i-th driving direction. i Q represents the waiting time before the phase corresponding to the i-th driving direction is activated. i The first traffic flow in the i-th direction of travel, T0 is the preset maximum signal cycle, Q0 is the preset maximum allowable flow, Δt is the release phase difference between the first intersection and the second intersection, L is the length from the first intersection to the second intersection, and v is the average speed of vehicles between the first intersection and the second intersection.
[0062] Optionally, the timing module 330 is used to input the first traffic flow into the timing model, with the goal of maximizing the maximum number of vehicles passing through the first intersection per hour, and to iteratively optimize the timing model using a particle swarm optimization algorithm to obtain the phase timing information of each travel direction in the first intersection; and to determine the phase timing information of the second intersection based on the release phase difference and the phase timing information of the first intersection.
[0063] Optionally, the control module 340 is used to control the traffic signal at the first intersection according to the phase timing information of the first intersection; and to control the traffic signal at the second intersection according to the phase timing information of the second intersection.
[0064] Optionally, the traffic signal timing control device 3 based on a single-ring structure further includes: a superposition module, used to determine the maximum delay time of vehicles at the first intersection in each direction of travel; after the maximum delay time in any direction of travel exceeds a preset value, controlling the phase of the first intersection in that direction of travel to be superimposed according to a preset duration to adjust the traffic signal of the first intersection; and adjusting the traffic signal of the second intersection according to the release phase difference and the preset duration.
[0065] Optionally, the traffic flow prediction model is a neural network model; the prediction module 320 is used to: determine a first change amount based on a first random value and a traffic flow probability change function; determine a second change amount based on a second random value and a traffic flow probability change function; input the first historical traffic flow, the second historical traffic flow, the first change amount, and the second change amount into the neural network model to predict the first traffic flow in each direction of travel at the first intersection.
[0066] Optionally, the traffic flow prediction model is a neural network model; the prediction module 320 is used to determine the third change amount based on the maximum delay time; determine the second change amount based on the second random value and the traffic flow probability change function; and input the first historical traffic flow, the second historical traffic flow, the third change amount and the second change amount into the neural network model to predict the first traffic flow in each direction of travel at the first intersection.
[0067] The traffic signal timing control device based on a single-ring structure provided in this embodiment can be used to execute the above method embodiment. Its implementation principle and technical effect are similar, and will not be described again here.
[0068] Figure 4 This is a schematic diagram of the structure of the electronic device provided in an embodiment of the present invention. For example... Figure 4 As shown, an embodiment of the present invention provides an electronic device 4, which includes a processor 40, a memory 41, and a computer program 42 stored in the memory 41 and executable on the processor 40. When the processor 40 executes the computer program 42, it implements the steps in the various embodiments of the traffic signal timing control method based on a single-loop structure described above, for example... Figure 2 The steps shown. Alternatively, when processor 40 executes computer program 42, it implements the functions of each module / unit in the above system embodiments, for example... Figure 3 The functions of each module are shown.
[0069] For example, computer program 42 may be divided into one or more modules / units, one or more of which are stored in memory 41 and executed by processor 40 to complete the present invention. One or more modules / units may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of computer program 42 in electronic device 4.
[0070] The electronic device can be a mobile phone, MCU, ECU, industrial control computer, etc., and is not limited thereto. Electronic device 4 may include, but is not limited to, processor 40 and memory 41. Those skilled in the art will understand that... Figure 4 This is merely an example of electronic device 4 and does not constitute a limitation on electronic device 4. It may include more or fewer components than shown, or combine certain components, or different components. For example, electronic devices may also include input / output devices, network access devices, buses, etc.
[0071] The processor 40 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0072] The memory 41 can be an internal storage unit of the electronic device 4, such as a hard disk or RAM. The memory 41 can also be an external storage device of the electronic device 4, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, the memory 41 can include both internal and external storage units of the electronic device 4. The memory 41 is used to store computer programs and other programs and data required by the electronic device. The memory 41 can also be used to temporarily store data that has been output or will be output.
[0073] This invention provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the steps described in the above embodiments of the traffic signal timing control method based on a single-ring structure.
[0074] A computer-readable storage medium stores a computer program 42. The computer program 42 includes program instructions. When executed by the processor 40, the program instructions implement all or part of the processes in the methods described in the above embodiments. The computer program 42 can also instruct related hardware to complete the process. The computer program 42 can be stored in a computer-readable storage medium. When executed by the processor 40, the computer program 42 can implement the steps of the various method embodiments described above. The computer program 42 includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.
[0075] The computer-readable storage medium can be an internal storage unit of the electronic device in any of the foregoing embodiments, such as a hard disk or memory of the electronic device. The computer-readable storage medium can also be an external storage device of the electronic device, such as a plug-in hard disk, smart media card (SMC), secure digital card (SD), flash card, etc., equipped on the electronic device. Furthermore, the computer-readable storage medium can include both internal and external storage units of the electronic device. The computer-readable storage medium is used to store computer programs and other programs and data required by the electronic device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.
[0076] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0077] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0078] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0079] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0080] In the embodiments provided by this invention, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0081] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0082] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0083] If an integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc.
[0084] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.
Claims
1. A traffic signal timing control method based on a single ring structure, characterized by, The method comprises: acquiring first historical traffic flows of each driving direction of a first intersection and second historical traffic flows of each driving direction of a second intersection; wherein the second intersection is an adjacent intersection of the first intersection; predicting first traffic flows of each driving direction of the first intersection according to the first historical traffic flows, the second historical traffic flows and a flow prediction model; inputting the first traffic flows into a timing model for optimization iteration to obtain phase timing information; wherein the timing model is provided with a first coefficient; the first coefficient represents an influence of the first traffic flows except for a first driving direction on the first traffic flows of the first driving direction; the first driving direction is any driving direction of the first intersection; controlling traffic signals of the first intersection and the second intersection according to the phase timing information; the timing model comprises: in, T The total signal cycle at the first intersection. t i For the first i Timing of each phase corresponding to each direction of travel n For the total number of phases, t 0 represents the preparation signal duration. t s To delay vehicle start-up, m i For the first i The first coefficient corresponding to the phase of each driving direction. T i For the first i The waiting time before the corresponding phase opens for each driving direction. Q i No. i The first traffic flow in each direction of travel T 0 represents the preset maximum signal period. Q 0 represents the preset maximum allowable flow rate, Δ t The difference in the release phase between the first and second intersections. L The length from the first intersection to the second intersection. v The average speed of the vehicle between the first intersection and the second intersection; the inputting of the first traffic flows into the timing model for optimization iteration to obtain the phase timing information comprises: inputting the first traffic flows into the timing model, taking the maximum number of vehicles passing through the first intersection per hour as a target, and iteratively optimizing the timing model by a particle swarm algorithm to obtain phase timing information of phases corresponding to each driving direction of the first intersection; determining phase timing information of the second intersection according to the release phase difference and the phase timing information of the first intersection.
2. The single ring structure based traffic signal timing control method of claim 1, wherein, the phase timing information comprises a starting time and a holding time, and the controlling of the traffic signals of the first intersection and the second intersection according to the phase timing information comprises: controlling the traffic signals of the first intersection according to the phase timing information of the first intersection; controlling the traffic signals of the second intersection according to the phase timing information of the second intersection.
3. The single ring structure based traffic signal timing control method of claim 2, wherein, after the controlling of the traffic signals of the first intersection and the second intersection, the method further comprises: determining maximum delay times of vehicles in each driving direction of the first intersection; after the maximum delay time in any driving direction exceeds a preset value, controlling the phase of the first intersection in the driving direction to be superimposed for a preset time length to adjust the traffic signals of the first intersection; adjusting the traffic signals of the second intersection according to the release phase difference and the preset time length.
4. The single ring structure based traffic signal timing control method of claim 3, wherein, the flow prediction model is a neural network model; and the predicting of the first traffic flows of each driving direction of the first intersection according to the first historical traffic flows, the second historical traffic flows and the flow prediction model comprises: determining a first change amount according to a first random value and a traffic flow probability change function; determining a second change amount according to a second random value and the traffic flow probability change function; inputting the first historical traffic flows, the second historical traffic flows, the first change amount and the second change amount into the neural network model to predict the first traffic flows of each driving direction of the first intersection.
5. The single-ring structure-based traffic signal timing control method of claim 4, wherein, the flow prediction model is a neural network model; and the predicting of the first traffic flows of each driving direction of the first intersection according to the first historical traffic flows, the second historical traffic flows and the flow prediction model comprises: determining a third change amount according to the maximum delay time; determine a second change amount according to the second random value and a traffic flow probability change function; input the first historical traffic flow, the second historical traffic flow, the third change amount and the second change amount into a neural network model to obtain a first traffic flow of each driving direction of the first intersection.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor implements the steps of the single-ring structure based traffic signal timing control method according to any one of claims 1-5 when executing the computer program.
7. A traffic signal control system characterized by, The electronic device comprises a video monitoring device, a traffic light, a traffic light control circuit and the electronic device according to claim 6.
8. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the steps of the single-ring structure based traffic signal timing control method according to any one of claims 1-5. The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the steps of the single-ring structure based traffic signal timing control method according to any one of claims 1-5.
Citation Information
Patent Citations
Traffic signal control method and device
CN106530762A
Credit control timing method and device, electronic equipment and storage medium
CN114333372A