Bidirectional green wave coordinated control method, device, electronic device and storage medium
By dividing and weighting the green wave bandwidth parameters, the objective function is redesigned to solve the control parameters, which solves the problem of unbalanced two-way traffic capacity in the traditional green wave coordinated control, achieves the balanced effect of the two-way green wave coordinated control, and improves traffic flow. stability and efficiency.
Patent Information
- Application Number
- CN202210513057.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-12
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-05-12
AI Technical Summary
In the traditional green wave coordination control method, the two-way traffic capacity is unbalanced, resulting in high traffic efficiency in one direction and poor traffic efficiency in the other direction.
By dividing the forward and reverse green wave bandwidth parameters into multiple sub-bandwidth parameters, assigning weights to these parameters, re-determining the objective function, and solving the control parameters based on the modeling parameters to achieve coordinated control of the green wave and ensure the bidirectional traffic capacity. balanced.
It achieves the balanced effect of two-way green wave coordinated control, avoids the problem of uneven two-way traffic capacity in the traditional method, and improves the stability and efficiency of traffic flow.
Smart Images

Figure CN115240443B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of traffic control, and in particular to a method, device, electronic device and storage medium for bidirectional green wave coordinated control. Background Art
[0002] With the development of cities and the surge in motor vehicles, how to improve urban traffic efficiency is an urgent problem to be solved in the field of traffic control technology. To solve the above problem, green wave coordinated control at intersections and crossroads is a common practice in this field.
[0003] Green wave coordinated control is achieved by connecting multiple intersection lights on the main road so that these lights can coordinate with each other, so that when the vehicles in motion arrive at the intersections of the main road ahead in turn, they will avoid the red light and encounter the green light. However, in the traditional green wave coordinated control related algorithms, the maximization of the ratio of the green wave travel time to the public signal cycle is usually pursued to evaluate the coordinated control effect, which can easily lead to very high traffic efficiency in one direction and relatively poor traffic efficiency in the other direction.
[0004] With regard to the problem of unbalanced two-way traffic capacity in green wave coordinated control schemes in related technologies, no effective solution has been proposed so far. Summary of the invention
[0005] Based on this, it is necessary to provide a two-way green wave coordination control method, device, electronic device and storage medium that can achieve two-way traffic capacity balance in response to the above technical problems.
[0006] In a first aspect, the present application provides a bidirectional green wave coordinated control method. The method comprises:
[0007] Dividing the forward green wave bandwidth parameter into a plurality of forward green wave sub-bandwidth parameters, dividing the reverse green wave bandwidth parameter into a plurality of reverse green wave sub-bandwidth parameters, and performing weight allocation on the plurality of forward green wave sub-bandwidth parameters and the reverse green wave sub-bandwidth parameters;
[0008] Determine an objective function based on a plurality of forward green wave sub-bandwidth parameters, a plurality of reverse green wave sub-bandwidth parameters and corresponding weights;
[0009] The objective function is solved based on the modeling parameters to obtain the control parameters, and the green wave coordinated control is performed based on the control parameters. The modeling parameters include road parameters and signal light parameters.
[0010] In one embodiment, the modeling parameters include the vehicle speed, and solving the objective function based on the modeling parameters to obtain the control parameters includes:
[0011] Determine green-first-green-wave parameters based on a preset speed threshold and road parameters, and determine a first constraint condition based on the green-first-green-wave parameters and traffic light parameters;
[0012] Determining a second constraint condition based on the road parameters and the signal light parameters;
[0013] The objective function is solved based on the first constraint condition and the second constraint condition to obtain control parameters.
[0014] In one embodiment, the second constraint condition includes a bidirectional green wave constraint and a green wave continuity constraint.
[0015] In one embodiment, the weighting of the plurality of forward green wave sub-bandwidth parameters and the reverse green wave sub-bandwidth parameters comprises:
[0016] Determine a first weight parameter sequence corresponding to each of the forward green wave sub-bandwidth parameters;
[0017] A second weight parameter sequence is determined based on the first weight parameter sequence, and a weight is allocated to each of the reverse green wave sub-bandwidth parameters based on the second weight parameter sequence.
[0018] In one embodiment, solving the objective function based on the modeling parameters to obtain the control parameters, and performing green wave coordinated control based on the control parameters includes:
[0019] The objective function is solved based on the modeling parameters to obtain the phase difference of the traffic lights at each intersection, and green wave coordinated control is performed based on the phase difference.
[0020] In one embodiment, dividing the forward green wave bandwidth parameter into a plurality of forward green wave sub-bandwidth parameters, and dividing the reverse green wave bandwidth parameter into a plurality of reverse green wave sub-bandwidth parameters comprises:
[0021] The forward green wave bandwidth parameter and the reverse green wave bandwidth parameter are divided in equal proportion according to a preset division ratio to obtain a plurality of forward green wave sub-bandwidth parameters and a plurality of reverse green wave sub-bandwidth parameters.
[0022] In one embodiment, before solving the objective function based on the modeling parameters, the method further includes:
[0023] Statistics of road parameters of all intersections on the trunk line, including: length of road sections between intersections, vehicle speed, and preset vehicle loss time;
[0024] Obtain a signal light operation plan for each intersection, and determine signal light parameters according to the signal light operation plan.
[0025] In a second aspect, the present application also provides a bidirectional green wave coordination control device. The device comprises:
[0026] A data processing module, used for dividing the forward green wave bandwidth parameter into a plurality of forward green wave sub-bandwidth parameters, dividing the reverse green wave bandwidth parameter into a plurality of reverse green wave sub-bandwidth parameters, and performing weight allocation on the plurality of forward green wave sub-bandwidth parameters and reverse green wave sub-bandwidth parameters;
[0027] A function determination module, used to determine an objective function based on a plurality of forward green wave sub-bandwidth parameters, a plurality of reverse green wave sub-bandwidth parameters and corresponding weights;
[0028] The coordination control module is used to solve the objective function based on the modeling parameters, obtain the control parameters, and perform green wave coordination control based on the control parameters. The modeling parameters include road parameters and signal light parameters.
[0029] In a third aspect, the present application further provides an electronic device. The electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the bidirectional green wave coordinated control method described in the first aspect when executing the computer program.
[0030] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the bidirectional green wave coordinated control method described in the first aspect above.
[0031] Compared with the related art, a two-way green wave coordinated control method, device, electronic device and storage medium provided in this embodiment first divides the forward green wave bandwidth parameter and the reverse green wave bandwidth parameter to obtain multiple green wave sub-bandwidth parameters, and sets corresponding weights for each green wave sub-bandwidth parameter; then, the objective function is re-determined according to the above green wave sub-bandwidth parameters and the corresponding weights, and then the objective function is solved to obtain the control parameters, and green wave coordinated control is performed based on the control parameters. The problem of unbalanced two-way green wave capacity in the traditional green wave coordinated control scheme is solved, and balanced two-way green wave coordinated control is achieved. The details of one or more embodiments of the present application are presented in the following drawings and descriptions to make other features, purposes and advantages of the present application more concise and easy to understand. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 is an application environment diagram of a bidirectional green wave coordinated control method in one embodiment;
[0033] Figure 2 is a flow chart of a bidirectional green wave coordinated control method in one embodiment;
[0034] Figure 3 This is a green wave effect diagram under a traditional two-way green wave control model in an embodiment;
[0035] Figure 4 A schematic diagram of a signal light operation scheme in one embodiment;
[0036] Figure 5 A schematic diagram of a signal light operation scheme in another embodiment;
[0037] Figure 6 A spatiotemporal schematic diagram of a bidirectional green wave control model in an embodiment;
[0038] Figure 7 This is a green wave effect diagram under a balanced bidirectional green wave control model in an embodiment;
[0039] Figure 8 It is a flow chart of a bidirectional green wave control method according to a preferred embodiment;
[0040] Fig. 9 is a structural block diagram of a bidirectional green wave coordination control device in one embodiment;
[0041] Fig.10 FIG. 4 is a diagram showing the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0043] The bidirectional green wave coordinated control method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown, Figure 1 The figure is an application environment diagram of the two-way green wave coordinated control method in the embodiment of the present application. Among them, the signal machine 102 is a device used for traffic control at each intersection of the trunk line, which communicates with the server 104 through the network, and the server 104 obtains the current operation plan of the signal machine and the trunk road conditions. Furthermore, the forward green wave bandwidth parameters and the reverse green wave bandwidth parameters can be segmented in the server 104, and the corresponding weights are assigned to the multiple sub-bandwidth parameters obtained by the segmentation to determine the objective function; then the objective function is solved to obtain the control parameters, and the green wave coordinated control of the signal machine 102 is performed based on the control parameters to achieve two-way green wave balanced control. Furthermore, the server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0044] In this embodiment, a bidirectional green wave coordinated control method is provided. Figure 2 is a flow chart of the bidirectional green wave coordinated control method of this embodiment. Figure 2 As shown, the process includes the following steps:
[0045] Step S201 : dividing a forward green wave bandwidth parameter into a plurality of forward green wave sub-bandwidth parameters, dividing a reverse green wave bandwidth parameter into a plurality of reverse green wave sub-bandwidth parameters, and performing weight allocation on the plurality of forward green wave sub-bandwidth parameters and the reverse green wave sub-bandwidth parameters.
[0046] Green wave band refers to the technology that calculates the time it takes for a vehicle to pass through a certain section of road, and then coordinates the traffic light signals at each intersection so that the vehicle can get green lights continuously when passing. Green wave band width refers to the width of the green light pass band at each intersection that can be continuously passed by cars traveling at the specified speed on the linkage controlled main road. It can reflect the vehicle's ability to pass without stopping. The larger the green wave band width, the more ideal the green wave effect. The positive green wave bandwidth refers to the green wave pass capacity of vehicles traveling from intersection i to intersection i+1, and the reverse green wave bandwidth refers to the green wave pass capacity of vehicles traveling from intersection i+1 to intersection i. The green wave band design method is a method of determining the signal timing parameters of the main road coordinated control system by pursuing the maximization of the ratio of the green wave pass time to the public signal cycle, that is, using the vehicle's continuous green wave band bandwidth as an evaluation index to study the coordinated control effect of the main road timing scheme.
[0047] In the traditional green wave bidirectional control algorithm, the objective function of the green wave model is generally in the form of:
[0048]
[0049] Figure 3 This is the green wave effect diagram under the traditional two-way green wave control model. In this model, the balance between the forward green wave and the reverse green wave is not considered, that is, in some cases, the two-way green wave effect is prone to imbalance. For example, when the signal light phase cycle is relatively large and the road section distance is relatively short, the green wave effect is as follows: Figure 3 As shown in Figure 1, the green wave capacity from intersection 1 to intersection 2 is very large, while the green wave capacity from intersection 2 to intersection 1 is also very weak, that is,
[0050] In this embodiment, the traditional two-way green wave control model is improved. First, the forward green wave bandwidth parameter and the reverse green wave bandwidth parameter are divided respectively to obtain a plurality of forward green wave sub-bandwidth parameters and a plurality of reverse green wave sub-bandwidth parameters of the same number, which can be expressed as:
[0051] b i =b i,1 +b i,2 +b i,3 +…+b i,k
[0052]
[0053] Wherein, k is an integer greater than 1.
[0054] Then, it is necessary to assign weights to each forward green wave sub-bandwidth parameter and reverse green wave sub-bandwidth parameter. The weights corresponding to the first forward green wave sub-bandwidth parameter and the first reverse green wave sub-bandwidth parameter are δ i,1 , the weight corresponding to the second forward green wave sub-bandwidth parameter and the first reverse green wave sub-bandwidth parameter is δ i,2 , and so on, the weights corresponding to the kth forward green wave sub-bandwidth parameter and the first reverse green wave sub-bandwidth parameter are both δ i,k . Furthermore, all weights satisfy:
[0055] δ i,1 +δ i,2 +δ i,3 +…+δ i,k =1
[0056] Step S202: determining an objective function based on a plurality of forward green wave sub-bandwidth parameters, a plurality of reverse green wave sub-bandwidth parameters and corresponding weights.
[0057] After confirming that multiple forward green wave sub-bandwidth parameters, multiple reverse green wave sub-bandwidth parameters and corresponding weights are complete, based on the balance of two-way traffic capacity, the objective function in this embodiment is expressed as:
[0058]
[0059] In the above objective function, firstly The green wave demand is then met in turn Green wave demand, avoiding the priority of satisfying the positive green wave (b i ) and ignores the reverse green wave The demand for traffic is met, achieving the goal of balanced green wave effects in both directions.
[0060] Step S203, solving the objective function based on the modeling parameters to obtain the control parameters, and performing green wave coordinated control based on the control parameters, the modeling parameters including the road parameters and the signal light parameters.
[0061] By solving the objective function, the specific values of the forward green wave bandwidth parameter and the reverse green wave bandwidth parameter can be obtained. Furthermore, before solving the problem, it is necessary to obtain modeling parameters for specific solutions. Modeling parameters may include road parameters and signal light parameters. Road parameters are parameters at each intersection on the main line, which may be the length of the road section, the speed of the vehicle, the travel time of each section, etc.; signal light parameters are parameters determined according to the signal light operation plan of each intersection, including cycle duration, phase duration, phase sequence and other parameters.
[0062] Take the east-west trunk line as an example. Figure 4 is a schematic diagram of a signal light operation scheme in an embodiment, such as Figure 4 As shown, the forward coordinated phase is the phase for going straight eastward, the reverse coordinated phase is the phase for going straight westward, and the other driving directions are non-coordinated phases.
[0063] Figure 5 is a schematic diagram of a signal light operation scheme in another embodiment, such as Figure 5 As shown in the figure, when the left-turn dedicated phase is the coordinated phase, the definitions of the coordinated phase and the uncoordinated phase have changed. If the turn from east to left is the positive coordinated phase, then the corresponding positive uncoordinated phases are turn from north to left, turn from south to left, and turn from west to left; if the reverse coordinated phase is turn from south to left, then the corresponding reverse uncoordinated phases are turn from north to left, turn from east to left, and turn from west to left.
[0064] After solving the objective function, the control parameters for green wave coordinated control can be obtained. Specifically, the phase parameters and phase difference parameters of the traffic lights at each intersection can be adjusted through the control parameters, and the traffic light scheme can be adjusted based on the phase parameters and phase parameters of the traffic lights to achieve two-way green wave coordinated control.
[0065] Figure 6 : is a spatiotemporal schematic diagram of the bidirectional green wave control model in this embodiment, Figure 6 As shown, the horizontal axis is time and the vertical axis is distance. The i, i+1, and i+2 on the vertical axis represent the corresponding numbered intersection positions, and 4 to 5 cycles of signal schemes are drawn for each intersection. Further, the figure also includes a forward coordination phase 11, a reverse coordination phase 12, and an uncoordinated phase 13. The parameters in the figure are control parameters, and their definitions are shown in Table 1:
[0066]
[0067] Table 1
[0068] Through the above steps, this embodiment improves the traditional two-way green wave control model, divides the forward green wave bandwidth parameter and the reverse green wave bandwidth parameter in proportion, obtains multiple forward green wave sub-bandwidth parameters and reverse green wave sub-bandwidth parameters, and their corresponding weights, and redesigns the objective function of the two-way green wave control model based on the above sub-bandwidth parameters and corresponding weights, while considering the capacity of the forward green wave and the reverse green wave. Based on the control parameters obtained by the above objective function, when the green wave coordinated control is carried out, the imbalance between the forward green wave effect and the reverse green wave effect can be avoided, the problem of unbalanced two-way capacity in the existing green wave coordinated control scheme is solved, and the purpose of balancing the two-way green wave effect can be achieved.
[0069] Optionally, the modeling parameters include the vehicle speed. It is understood that when solving the objective function, it is necessary to do so based on the constraint conditions of the objective function. In this embodiment, solving the objective function based on the modeling parameters to obtain the control parameters includes: determining the first constraint condition based on the vehicle speed and a preset speed threshold. Specifically, considering that the discreteness of green wave vehicles will affect the green wave effect, for example, on a certain green wave trunk line, a preset speed threshold of V is set. m If the vehicles on the trunk line travel at this speed, the ideal green wave effect can be achieved. However, in reality, the speed of vehicles cannot always be consistent, sometimes fast and sometimes slow, which easily leads to the dispersion of vehicles, thus affecting the realization of the green wave effect. Therefore, it is necessary to consider the negative impact of the discreteness of traffic flow on the green wave effect and set the corresponding first constraint condition.
[0070] Furthermore, the green wave parameters can be determined based on the preset speed threshold and road parameters, that is, the time when the green wave arrives at the intersection can be obtained, and then the time interval between the green wave entering the intersection and the start time of the coordinated phase green light can be determined based on the above green wave parameters and signal light parameters. When determining the first constraint condition, it is necessary to constrain the starting point of the green wave band to be near the start time of the coordinated phase green light, so that the driving speed can be greater than the preset speed threshold V m When vehicles arrive at the intersection, they need to stop briefly before passing through, so as to reduce the dispersion between vehicles. Figure 6 As shown in the figure, the time difference between the time when the green wave flows into the intersection and the time when the coordinated phase green light starts (e i or ) and the time difference between the green wave exiting the intersection and the start time of the coordinated phase green light (s i or ) is subject to the following restrictions:
[0071] e i -d i =0
[0072]
[0073] s i -d i =0
[0074]
[0075] The above formula is the first constraint condition, where d i and are the vehicle entry loss time and vehicle exit loss time, which can be obtained when the road parameter data is counted. i and parameters The value range of is [0,5]( / cycle), which can be set according to the actual road conditions. In general, the two are equal, that is,
[0076] Furthermore, it is also necessary to determine the second constraint condition based on the road parameters and the signal light parameters. Then, the objective function is solved based on the first constraint condition and the second constraint condition to obtain the control parameter.
[0077] In this embodiment, the first constraint condition is set by taking into account the negative impact of the discreteness of traffic flow on the green wave effect in actual situations, and the second constraint condition related to the road parameters and the traffic light parameters is determined to impose certain restrictions on the objective function, thereby restricting the inflow and outflow times of the green wave at each intersection to reduce the discreteness of traffic flow in each road section.
[0078] Furthermore, the second constraint condition includes a bidirectional green wave constraint and a green wave continuity constraint, which is similar to the traditional Maxband green wave model. Specifically, the bidirectional green wave constraint condition is as follows:
[0079]
[0080]
[0081]
[0082] Among them, m j Represents the total number of phases at intersection i, which is determined by the operation plan of the traffic lights at each intersection.
[0083] The green wave continuity constraints are as follows:
[0084] b i+1 -bi=0
[0085] e i -s i =0
[0086]
[0087]
[0088] The bidirectional green wave constraint conditions and green wave continuity constraint conditions of this embodiment can constrain the objective function to ensure that the parameters obtained by solving the objective function are the optimal solution to meet user needs, thereby ensuring the continuity and bidirectionality of the green wave during green wave coordinated control, thereby improving the stability of the bidirectional green wave traffic capacity.
[0089] When weighting multiple forward green wave sub-bandwidth parameters and reverse green wave sub-bandwidth parameters, a first weight parameter sequence corresponding to each forward green wave sub-bandwidth parameter may be determined first; then a second weight parameter sequence is determined based on the first weight parameter sequence, and weights are assigned to each reverse green wave sub-bandwidth parameter based on the second weight parameter sequence. Specifically, the weight parameter may be set randomly, but the values of the weight parameters corresponding to the reverse green wave sub-bandwidth parameter and the forward green wave sub-bandwidth parameter are the same, that is, a forward green wave sub-bandwidth parameter b i,k The corresponding weight parameter is δ i,k , then the reverse green wave sub-bandwidth parameter corresponding to the forward green wave sub-bandwidth parameter is The weight parameter is also δ i,k . In addition, each weight parameter must meet the following conditions:
[0090] δ i,1 >δ i,2 >δ i,3 >…>δ i,k
[0091] This ensures It has the highest weight and is given priority when green wave regulation is carried out. demand.
[0092] Taking k = 3 as an example, after segmentation, three positive green wave sub-bandwidth parameters b are obtained: i,1 、b i,2 and b i,3 The above three parameters are the subscript order confirmed after random sorting, and the corresponding weights of the above parameters are δ i ,1=5、δ i,2 =3,δ i,3 =2, then these three weight parameters can be assigned to the reverse green wave sub-bandwidth parameters Make The weight is δ i,1 =5, The weight is δ i,2 =3, The weight is δ i ,3=2. Furthermore, it is also possible to first determine the weight parameter sequence corresponding to multiple reverse green wave sub-bandwidth parameters, and then assign weights to each forward green wave sub-bandwidth parameter based on the weight parameter sequence. Furthermore, the user can first set different weight parameters as required, sort the weight parameters from large to small to generate a weight parameter sequence, and assign weights to each forward green wave sub-bandwidth parameter and each reverse green wave sub-bandwidth parameter according to the determined weight parameter sequence.
[0093] By weighting the forward green wave sub-bandwidth parameters and the reverse green wave sub-bandwidth parameters obtained after segmentation in this embodiment, it can be ensured that priority is given to satisfying the green wave regulation. The green wave demand is then met in turn The demand for forward green wave bandwidth and reverse green wave bandwidth can be taken into account at the same time, avoiding the situation where the forward green wave bandwidth demand is prioritized while the reverse green wave bandwidth demand is ignored, thereby improving the balance of the two-way green wave effect.
[0094] After confirming that the expression of the objective function and the corresponding constraints are complete, the objective function can be solved to obtain the value of the control parameter, that is, Then, the phase difference of the traffic lights at each intersection can be calculated based on the above control parameters and modeling parameters, and green wave coordination control can be performed based on the phase difference. Specifically, when calculating the phase difference, it is first necessary to calculate the relative phase difference of the forward coordination phase or the relative phase difference of the reverse coordination phase at each intersection; the relationship between the forward coordination phase of intersection i and intersection i+1 is:
[0095] p i,c +s i +t i =P i+1,c +e i+1
[0096] Among them, P i,c is the start time of the forward coordination phase, so the relative phase difference between the forward coordination phases of intersection i and intersection i+1 can be expressed as:
[0097] σ i+u =P i+1,c -P i,c =s i +t i -e i+1
[0098] Since the relative phase difference of the forward coordination phase cannot be directly sent to the corresponding signal machine for regulation, it needs to be converted into a cycle start time phase. Specifically, the cycle start time phase can be calculated based on the leading phase duration of the forward coordination phase at each intersection, and its expression is:
[0099]
[0100] Among them, P′ i+1,P For the forward coordination phase, the phase can be advanced according to the optimized phase duration P i,j To calculate, P i,jIt can be determined according to the traffic light operation plan of each intersection. After obtaining the cycle start time phase of the traffic lights at each intersection, the phase can be sent to the traffic lights at each intersection for green wave coordination control. Specifically, let the phase difference of the traffic light corresponding to intersection i=1 be 0, then the phase difference of the traffic light corresponding to intersection i=2 is The phase difference of the signal corresponding to intersection i=3 is By analogy, the phase difference of the signal corresponding to intersection i=n is like The phase difference at this time is Figure 7 This is a green wave effect diagram under the balanced bidirectional green wave control model of this embodiment, such as Figure 7 As shown, in this embodiment, the objective function is solved to obtain the control parameters, and the coordinated control of each signal machine through the control parameters can achieve a balanced two-way green wave effect, that is,
[0101] In this embodiment, the corresponding control parameters are obtained by solving the objective function, and the phase difference of the traffic lights at each intersection is calculated based on the above control parameters. The phase difference is used for green wave coordinated control, and a green wave coordinated control scheme with balanced two-way traffic capacity can be obtained. The phase difference can be directly used to control the parameters of the traffic lights at each intersection, which simplifies the process of green wave coordinated control.
[0102] Optionally, when dividing the forward green wave bandwidth parameter and the reverse green wave bandwidth parameter, the forward green wave bandwidth parameter and the reverse green wave bandwidth parameter are divided in equal proportion according to a preset division ratio to obtain a plurality of forward green wave sub-bandwidth parameters and a plurality of reverse green wave sub-bandwidth parameters. The preset division ratio can be manually confirmed, generally 1 / 2 to 1 / 5. For example, if the preset division ratio is determined to be 1 / 5, then each forward green wave sub-bandwidth parameter and each reverse green wave sub-bandwidth parameter are respectively
[0103]
[0104]
[0105] Since the green wave bandwidth parameters are divided in equal proportion, when determining each green wave sub-bandwidth parameter b i,1 …b i,k The order of the numbers k is random, and the order of the numbers is only for more convenient weight allocation.
[0106] In this embodiment, by dividing the forward green wave bandwidth parameter and the reverse green wave bandwidth parameter in equal proportion, a data basis is provided for the redesign of the objective function, so that when performing weight allocation, the influence of the size of the green wave sub-bandwidth parameter on the weight allocation can be ignored, and weight allocation can be performed directly according to user needs, thereby improving the efficiency of weight allocation.
[0107] It is understandable that before confirming the expression of the objective function, it is necessary to first collect data statistics on the basic conditions of all intersections on the trunk line. The specific process is as follows: Count the road parameters of all intersections on the trunk line, including: the length of the section between each intersection, the vehicle speed, and the preset vehicle loss time. Among them, the length of the section between each intersection can be expressed as: L i→i+1 (i=1,2,3…n-1), represents the distance from intersection i to intersection i+1, L i+1→i (i=1,2,3…n-1), represents the distance from intersection i+1 to intersection i, n is the number of intersections; the vehicle speed can be expressed as: V i→i+1 (i=1,2,3…n-1), represents the speed from intersection i to intersection i+1, V i+1→i (i=1,2,3…n-1), represents the speed from intersection i+1 to intersection i; the preset vehicle loss time can be expressed as: d i represents the preset vehicle exit loss time at intersection i, Represents the preset vehicle entry loss time at intersection i.
[0108] Furthermore, it is also necessary to obtain the signal light operation plan of each intersection and determine the signal light parameters according to the signal light operation plan; wherein the signal light parameters include: the cycle length c when the signal light is in operation; i (i=1,2,3…n), phase duration P i , j (i=1,2,3…n, j=1,2,3…m j ), and phase sequence. Optionally, the phase sequence needs to be determined according to the direction of the trunk line, which includes the coordination phase, the leading phase and the trailing phase. Taking Table 1 as an example, the cycle length of the intersection is 100 seconds (leading phase length + coordination phase length + trailing phase length), and the total number of phases is m j There are 4 phases, and the duration of each phase is P for north-south straight travel. i,1 = 30s, turn left from north to south i,2 = 20s, go straight east-west i,3 = 30s, turn left from east to west i,4 =20s, north-south straight driving and north-south left turning are the leading phase, east-west straight driving is the coordination phase, and east-west left turning is the lagging phase.
[0109] After further data processing of the above parameters, the forward and reverse travel times of each section can be determined as follows:
[0110] (Forward travel time)
[0111] (Reverse travel time)
[0112] The common cycle of each intersection is:
[0113] C=maxtc i )
[0114] Optionally, the common period may also be set manually.
[0115] Exemplarily, the traffic lights at each intersection maintain the green-to-signal ratio of the original solution, and the optimized phase duration is obtained by adjusting the phase duration in the same proportion based on the common cycle:
[0116] P′ i,j =C×P i,j / c i
[0117] After obtaining the above data, the modeling parameters can be confirmed. The specific modeling parameters are shown in Table 2, where: and Δ i It can be determined based on the phase duration and the common period.
[0118]
[0119]
[0120] Table 2
[0121] In this embodiment, the modeling parameters are determined by statistically analyzing the road parameters and traffic light parameters of each road section, and the real-time traffic conditions of the trunk line can be statistically analyzed, which is conducive to balanced two-way green wave coordinated control based on the real-time traffic conditions, so that the control effect is more in line with the actual traffic needs of the trunk line.
[0122] The present embodiment is described and illustrated below through preferred embodiments.
[0123] Figure 8 FIG. 1 is a flow chart of the bidirectional green wave coordinated control method of this preferred embodiment. Figure 8 As shown, the bidirectional green wave coordinated control method includes the following steps:
[0124] Step S801, collecting statistics on real-time road parameters and traffic light parameters at each intersection of the trunk line, and determining modeling parameters based on the road parameters and traffic light parameters;
[0125] Step S802, dividing the forward green wave bandwidth parameter and the reverse green wave bandwidth parameter in equal proportion, and determining a plurality of forward green wave sub-bandwidth parameters, reverse green wave sub-bandwidth parameters and a weight corresponding to each green wave sub-bandwidth parameter;
[0126] Step S803, designing an objective function based on the forward green wave sub-bandwidth parameter, the reverse green wave sub-bandwidth parameter and corresponding weights;
[0127] Step S804, determining the first constraint condition of the objective function based on the discreteness of the traffic flow, and determining the two-way green wave constraint condition and the green wave continuity constraint condition, solving the objective function based on the above constraints to obtain control parameters;
[0128] Step S805, calculating the phase difference corresponding to the traffic lights at each intersection according to the control parameters, and transferring the obtained phase difference to the corresponding traffic lights to realize green wave coordinated control.
[0129] In the above steps, this embodiment obtains multiple green wave sub-bandwidth parameters by dividing the forward green wave bandwidth parameter and the reverse green wave parameter in equal proportion, and assigns corresponding weights to the multiple green wave sub-bandwidth parameters, thereby redesigning the objective function. At the same time, considering the negative impact of vehicle flow discreteness on the green wave effect, a corresponding first constraint condition is specially set; when solving the objective function, not only the first constraint condition is used, but also the traditional two-way green wave constraint condition and the green wave continuity constraint condition are added, so that new control parameters can be obtained for two-way green wave coordinated control. The control scheme based on the above control parameters solves the problem of unbalanced two-way green wave effects in the traditional two-way green wave coordinated control scheme, can realize balanced two-way green wave coordinated control, and avoids the influence of vehicle flow discreteness, so as to achieve better green wave passage effect.
[0130] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0131] Based on the same inventive concept, the embodiment of the present application also provides a bidirectional green wave coordinated control device for implementing the bidirectional green wave coordinated control method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more bidirectional green wave coordinated control device embodiments provided below can refer to the limitations of the bidirectional green wave coordinated control method above, and will not be repeated here.
[0132] Fig. 9 FIG. 1 is a structural block diagram of a bidirectional green wave coordination control device in an embodiment. Fig. 9 As shown, a bidirectional green wave coordinated control device is provided, comprising: a data processing module 91, a function determination module 92 and a coordinated control module 93, wherein:
[0133] The data processing module 91 is used to divide the forward green wave bandwidth parameter into a plurality of forward green wave sub-bandwidth parameters, divide the reverse green wave bandwidth parameter into a plurality of reverse green wave sub-bandwidth parameters, and perform weight allocation on the plurality of forward green wave sub-bandwidth parameters and the reverse green wave sub-bandwidth parameters;
[0134] A function determination module 92, configured to determine an objective function based on a plurality of forward green wave sub-bandwidth parameters, a plurality of reverse green wave sub-bandwidth parameters and corresponding weights;
[0135] The coordination control module 93 is used to solve the objective function based on the modeling parameters, obtain the control parameters, and perform green wave coordination control based on the control parameters. The modeling parameters include road parameters and signal light parameters.
[0136] Through the bidirectional green wave coordination control device of this embodiment, this embodiment divides the forward green wave bandwidth parameter and the reverse green wave bandwidth parameter in proportion through the data processing module 91, obtains multiple forward green wave sub-bandwidth parameters and reverse green wave sub-bandwidth parameters, and their corresponding weights, and redesigns the objective function of the bidirectional green wave control model through the function determination module 92 based on the above sub-bandwidth parameters and corresponding weights, while considering the capacity of the forward green wave and the reverse green wave. Based on the control parameters obtained by the above objective function, when the green wave coordination control is performed by the coordination control module 93, the imbalance between the forward green wave effect and the reverse green wave effect can be avoided, and the problem of unbalanced bidirectional capacity in the existing green wave coordination control scheme is solved, and the purpose of balancing the bidirectional green wave effect can be achieved.
[0137] Furthermore, the modeling parameters include the vehicle speed, and the coordination control module 93 is also used to determine the green-to-green wave parameters based on the preset speed threshold and the road parameters, and determine the first constraint condition according to the green-to-green wave parameters and the traffic light parameters; determine the second constraint condition based on the road parameters and the traffic light parameters; solve the objective function based on the first constraint condition and the second constraint condition to obtain the control parameters.
[0138] Furthermore, the second constraint condition includes a bidirectional green wave constraint and a green wave continuity constraint.
[0139] Furthermore, the data processing module 91 is also used to determine a first weight parameter sequence corresponding to each of the forward green wave sub-bandwidth parameters; determine a second weight parameter sequence based on the first weight parameter sequence, and assign weights to each of the reverse green wave sub-bandwidth parameters based on the second weight parameter sequence.
[0140] Furthermore, the coordination control module 93 is also used to solve the objective function based on the modeling parameters, obtain the phase difference of the traffic lights at each intersection, and perform green wave coordination control based on the phase difference.
[0141] Furthermore, the data processing module 91 is further configured to divide the forward green wave bandwidth parameter and the reverse green wave bandwidth parameter in equal proportion according to a preset division ratio to obtain a plurality of forward green wave sub-bandwidth parameters and a plurality of reverse green wave sub-bandwidth parameters.
[0142] Furthermore, the above-mentioned device also includes a data statistics module, which is used to count the road parameters of all intersections on the main line, including: the length of the road section between each intersection, the vehicle driving speed and the preset vehicle loss time; obtain the traffic light operation plan of each intersection, and determine the traffic light parameters according to the traffic light operation plan, including: phase duration, cycle duration and phase sequence.
[0143] Each module in the above-mentioned two-way green wave coordination control device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in an electronic device in the form of hardware, or can be stored in a memory in an electronic device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0144] In one embodiment, an electronic device is provided. The electronic device may be a terminal, and its internal structure diagram may be as follows: Fig.10As shown. The electronic device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a two-way green wave coordination control method is implemented. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad provided on the housing of the electronic device, or an external keyboard, touchpad or mouse, etc.
[0145] Those skilled in the art will understand that Fig.10 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0146] In one embodiment, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0147] The forward green wave bandwidth parameter is divided into a plurality of forward green wave sub-bandwidth parameters, the reverse green wave bandwidth parameter is divided into a plurality of reverse green wave sub-bandwidth parameters, and weights are allocated to the plurality of forward green wave sub-bandwidth parameters and the reverse green wave sub-bandwidth parameters;
[0148] Determine an objective function based on a plurality of forward green wave sub-bandwidth parameters, a plurality of reverse green wave sub-bandwidth parameters and corresponding weights;
[0149] The objective function is solved based on the modeling parameters to obtain the control parameters, and the green wave coordinated control is performed based on the control parameters. The modeling parameters include road parameters and signal light parameters.
[0150] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and will not be repeated in this embodiment.
[0151] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0152] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0153] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0154] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A bidirectional green wave coordinated control method, characterized in that: The method comprises: The forward green wave bandwidth parameter is divided into a plurality of forward green wave sub-bandwidth parameters, the reverse green wave bandwidth parameter is divided into a plurality of reverse green wave sub-bandwidth parameters, and weights are allocated to the plurality of forward green wave sub-bandwidth parameters and the reverse green wave sub-bandwidth parameters; the weight parameter of each forward green wave sub-bandwidth parameter is different; the forward green wave sub-bandwidth parameter has the same weight parameter as the corresponding reverse green wave sub-bandwidth parameter; the sum of the first forward green wave sub-bandwidth parameter and the first reverse green wave sub-bandwidth parameter has the highest weight; Determine an objective function based on a plurality of forward green wave sub-bandwidth parameters, a plurality of reverse green wave sub-bandwidth parameters and corresponding weights; The objective function is solved based on the modeling parameters to obtain the control parameters, and the green wave coordinated control is performed based on the control parameters. The modeling parameters include road parameters and signal light parameters.
2. The method according to claim 1, characterized in that The modeling parameters include the vehicle speed, and the objective function is solved based on the modeling parameters to obtain the control parameters including: Determine a green-first-green-wave parameter based on a preset speed threshold and the road parameter, and determine a first constraint condition according to the green-first-green-wave parameter and the signal light parameter; Determining a second constraint condition based on the road parameters and the signal light parameters; The objective function is solved based on the first constraint condition and the second constraint condition to obtain control parameters.
3. The method according to claim 2, characterized in that The second constraint condition includes a bidirectional green wave constraint and a green wave continuity constraint.
4. The method according to claim 1, characterized in that: The weight allocation of the plurality of forward green wave sub-bandwidth parameters and the reverse green wave sub-bandwidth parameters comprises: Determine a first weight parameter sequence corresponding to each of the forward green wave sub-bandwidth parameters; A second weight parameter sequence is determined based on the first weight parameter sequence, and a weight is allocated to each of the reverse green wave sub-bandwidth parameters based on the second weight parameter sequence.
5. The method according to claim 1, characterized in that Solving the objective function based on the modeling parameters to obtain the control parameters, and performing green wave coordinated control based on the control parameters includes: The objective function is solved based on the modeling parameters to obtain the phase difference of the traffic lights at each intersection, and green wave coordinated control is performed based on the phase difference.
6. The method according to claim 1, characterized in that The step of dividing the forward green wave bandwidth parameter into a plurality of forward green wave sub-bandwidth parameters and dividing the reverse green wave bandwidth parameter into a plurality of reverse green wave sub-bandwidth parameters comprises: The forward green wave bandwidth parameter and the reverse green wave bandwidth parameter are divided in equal proportion according to a preset division ratio to obtain a plurality of forward green wave sub-bandwidth parameters and a plurality of reverse green wave sub-bandwidth parameters.
7. The method according to claim 1, characterized in that Before solving the objective function based on the modeling parameters, the method further includes: Count the road parameters of all intersections on the trunk line, including: the length of the road section between each intersection, the vehicle speed and the preset vehicle loss time; Obtain the traffic light operation plan for each intersection, and determine the traffic light parameters according to the traffic light operation plan, including: phase duration, cycle duration, and phase sequence.
8. A bidirectional green wave coordination control device, characterized in that: The device comprises: a data processing module, used for dividing a forward green wave bandwidth parameter into a plurality of forward green wave sub-bandwidth parameters, dividing a reverse green wave bandwidth parameter into a plurality of reverse green wave sub-bandwidth parameters, and weighting the plurality of forward green wave sub-bandwidth parameters and reverse green wave sub-bandwidth parameters; the weight parameter of each forward green wave sub-bandwidth parameter is different; the weight parameter of the forward green wave sub-bandwidth parameter is the same as the weight parameter of the corresponding reverse green wave sub-bandwidth parameter; the sum of the first forward green wave sub-bandwidth parameter and the first reverse green wave sub-bandwidth parameter has the highest weight; A function determination module, used to determine an objective function based on a plurality of forward green wave sub-bandwidth parameters, a plurality of reverse green wave sub-bandwidth parameters and corresponding weights; The coordination control module is used to solve the objective function based on the modeling parameters, obtain the control parameters, and perform green wave coordination control based on the control parameters. The modeling parameters include road parameters and signal light parameters.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
