Traffic light time applied to two-way multilane crossing crossing regulates and controls method
Technical field
The invention belongs to field of intelligent transportation technology more particularly to a kind of applied to two-way multilane crossing crossing
Traffic light time regulates and controls method.
Background technique
Currently, the prior art commonly used in the trade is such that
The traffic light control system at crossing usually sets fixed value for the traffic lights duration at present.Two-way more
In the crossing crossing scene in lane, if without pedestrian or less walk when red light phase (driveway red light phase),
Meeting is so that vehicle is forced to wait;When green light phase without vehicle or less vehicle pass-through and when more pedestrian waits, so that part row
People is forced to wait the 1 red light above time that can pass through;So as to cause traffic capacity decline, the waste of traffic resource is caused.Separately
Outside, current most of crossings are equipped with video monitoring equipment and crossing passage situation are monitored and are recorded, therefore can be by video
Monitoring device is combined with traffic light control system, analyzes video monitoring information using video image identification technology to realize
To the dynamic regulation of traffic lights duration.
In conclusion problem of the existing technology is:
(1) two-way multilane crossing crossroads traffic light duration fixed setting causes capacity and level-of-service
Lowly.
It (2) in the prior art all can not be real based on existing traffic lights equipment for the regulator control system of traffic light time or equipment
It is existing, need to install new equipment, improvement cost is high.
(3) existing regulator control system not only detects pedestrian's data and also detects vehicle data, causes detection data more, the speed of service
Slowly, inefficient, error rate is high;The existing regulator control system in part at any time regulates and controls traffic light time simultaneously, when leading to the time
Variation is carved, system is unstable.
Solve the difficulty of above-mentioned technical problem:
The main problem of transformation is cost, efficiency and the system stability being transformed.The present invention utilizes the existing view in crossing
Frequency monitoring device detects pedestrian's quantity, is easy to be transformed, improvement cost is low;The present invention only detects pedestrian's data at crossing, and is expert at
The current non-peak period of people, is able to maintain the continuity of wagon flow, thus it is high-efficient, system stability is good;The present invention passes through detection row
Personal data can be adjusted traffic light time according to real-time traffic conditions.Therefore the present invention can preferably solve the above technology
Problem.
Solve the meaning of above-mentioned technical problem:
Traffic light time regulation method improvement cost proposed by the present invention is low, is easily achieved, and passes through real-time traffic situation
Dynamic adjustment traffic light time, can efficiently use traffic resource, the capacity and level-of-service in section where improving crossing.
Summary of the invention
In view of the problems of the existing technology, the present invention provides a kind of applied to two-way multilane crossing crossing
Traffic light time regulates and controls method.
The invention is realized in this way a kind of traffic light time regulation side applied to two-way multilane crossing crossing
Method, the traffic light time regulation method applied to two-way multilane crossing crossing include:
Video image identification technology is based on using the video monitoring equipment at crossing crossing to set by the monitoring of identification crossing
Standby collected real time video image determines waiting pedestrian's number at crossing, and is gone by traffic light control system according to waiting
Number presses driveway traffic lights duration calculation formula and determines green light duration and red light duration respectively.
Further, the video monitoring equipment using crossing crossing identifies the waiting pedestrian's number packet for determining crossing
It includes:
Camera in video monitoring equipment starts to detect pedestrian's number in the last 5s of green light basal latency, in red light Shi Bujian
It surveys, video image data is analyzed, identification counts waiting pedestrian's number in image.
Further, the green light duration and red light duration that the traffic light control system determines are provided with
Duration bound;Wherein red light duration lower limit is time of the pedestrains safety by crossing, and the upper limit is driver
Maximum patience time when waiting;Green light duration lower limit is 30s, to guarantee necessary capacity of road;The upper limit is road
Mouth waits the maximum patience time of pedestrian.
Further, the driveway traffic lights duration calculation formula are as follows:
1) driveway green light duration calculation formula
T1=30+MIN (t1,t2)
Wherein, T1For the major trunk roads green light duration;30 be green light basal latency, unit s, as green light duration
Lower limit;t1Green light when waiting pedestrian's number maximum value N to be greater than threshold value A for crossing two sides increases the time, is a dynamic value, single
Position is s;t2The maximum patience time of pedestrian is waited to subtract 30, i.e. (t for crossing2It+30) is the upper limit of green light duration, as
Maximum patience time, unit s.
2) driveway red light duration calculation formula
Wherein, T2For the major trunk roads red light duration;t3The time for passing through crossing for pedestrains safety;t4For driver
Maximum patience time when waiting.L is pedestrian's number that half pedestrian passage width can be parallel;It indicates in " [] "
Value rounds up;N indicates that crossing two sides wait pedestrian's number maximum value;A indicates threshold value.
Further, the traffic light time regulation method applied to two-way multilane crossing crossing specifically include with
Lower step:
Step 1, using garage's green light phase as original state, the original state duration is set as 30s;Green light direction
Vehicle normal pass, the pedestrian in other directions, which waits, to pass through;In the last 5s of green light basis 30s time, camera S1, camera shooting
Head S2It identifies respectively, count pedestrian's number N that crossing crossing two sides wait1、N2And determine that two sides wait pedestrian's maximum value N.
Step 2, two sides pedestrian's maximum value N based on acquisition determine whether to terminate green light phase: when two sides pedestrian's maximum value
When N is greater than threshold value A, then terminates green light phase, and pass through 3s amber light state, be converted to red light phase;As two sides pedestrian's maximum value N
When less than or equal to threshold value A, then green time continues to increase, while camera persistently detects identification pedestrian, and carries out corresponding state
It determines;If detecting that N value is greater than A value or green light phase time is more than the duration upper limit, green light phase terminates, by amber light
It is converted into red light.
Step 3, red light duration T2It is obtained according to the determination of red light duration calculation formula, after red light phase,
Be converted to green light phase.
Step 4, after driveway is converted to green light phase, return step one;After driveway is converted to red light phase, return to
Step 3.
Further, in step 2, the green time when two sides pedestrian's maximum value N is less than or equal to threshold value A continues to increase
Further include:
When the current green light phase duration is more than green light sustainable time upper limit, then terminate green light phase, by 3s Huang
Lamp state, is converted to red light phase.
Another object of the present invention is to provide be applied to two-way multilane crossing described in a kind of implementation claim
The traffic light time regulator control system applied to two-way multilane crossing crossing of the traffic light time regulation method at crossing.
Another object of the present invention is to provide a kind of computer program product, the computer program product runs on meter
Calculation machine processor executes when operation when realizing the traffic lights for being applied to two-way multilane crossing crossing described in claim
Between regulate and control method.
Another object of the present invention is to provide a kind of terminal, the terminal, which is carried, is applied to two-way more vehicles described in realization
The traffic light time of Taoist's row cross junction regulates and controls method.
Another object of the present invention is to provide a kind of computer readable storage medium, including computer program, when its
When being run on computer, so that computer executes the traffic light time tune applied to two-way multilane crossing crossing
Prosecutor method.
In conclusion advantages of the present invention and good effect are as follows:
The present invention is based on existing, and the traffic system with monitoring device is realized, is easy transformation, and improvement cost is low;The present invention
Can be according to waiting pedestrian's number at crossing crossing, dynamic sets the traffic lights duration, improves crossing crossing
Capacity and level-of-service;The present invention can give vehicle pass-through priority, when current row is fewer in number to improve the section
Vehicle handling capacity;When current pedestrian's number is more, walk priority is given, to improve pedestrian's waiting time, reduces road
The possible traffic safety hidden danger of mouth, improves Assessment of Serviceability of Roads.
The present invention only detects pedestrian's number of crossing two sides waiting, and detection range is smaller, it is easier to realize;And it is more efficient;
In less walk, garage's green time tends to a fixed value under the present invention, has better stability;Increasing vehicle
Row green time part, the present invention consider two kinds of situations, and more succinctly, processing logic is also more clear;The present invention can be realized
In the peak period of walk, Pedestrians priority right-of-way is given, reduces pedestrian's waiting time.
Detailed description of the invention
Fig. 1 is the traffic light time regulation side provided in an embodiment of the present invention applied to two-way multilane crossing crossing
Method flow chart.
Fig. 2 is the traffic light time regulation side provided in an embodiment of the present invention applied to two-way multilane crossing crossing
Method schematic diagram.
Fig. 3 is scene figure provided in an embodiment of the present invention.
Fig. 4 is provided in an embodiment of the present invention compared to fixed timing, dynamically average with the vehicle total delay time at present
Shorten comparison diagram.
Fig. 5 is provided in an embodiment of the present invention compared to fixed timing, is dynamically averagely contracted with maximum queue length at present
Short comparison diagram.
Fig. 6 is provided in an embodiment of the present invention compared to fixed timing, dynamically flat with pedestrian delays time average at present
Extend comparison diagram.
Fig. 7 is provided in an embodiment of the present invention compared to fixed timing, in the more walk period, is dynamically matched at present
The pedestrian delays time averagely shortens contrast table.
Fig. 8 is the three-dimensional scene of simulation model provided in an embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to embodiments, to the present invention
It is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not used to
Limit the present invention.
In the prior art, the fixed setting of two-way multilane crossing crossroads traffic light duration cause the traffic capacity and
Service level is low, traffic resource waste.The regulator control system of traffic light time or equipment can not be all based in the prior art
Existing traffic lights equipment is realized, needs to install new equipment, and improvement cost is high, wastes existing resource.Existing regulator control system is not only examined
It surveys pedestrian's data and also detects vehicle data, cause detection data more, the speed of service is slow, and inefficient, error rate is high;Part simultaneously
Existing regulator control system at any time regulates and controls traffic light time, and moment time is caused to change, unstable.
In order to solve the above technical problems, elaborating in conjunction with attached drawing to the present invention.
Traffic light time provided in an embodiment of the present invention applied to two-way multilane crossing crossing regulates and controls method packet
It includes:
Video image identification technology is based on using the video monitoring equipment at crossing crossing to set by the monitoring of identification crossing
Standby collected real time video image determines waiting pedestrian's number at crossing, and is gone by traffic light control system according to waiting
Number presses driveway traffic lights duration calculation formula and determines green light duration and red light duration respectively.
The video monitoring equipment using crossing crossing that present example provides identifies the waiting pedestrian for determining crossing
Number includes:
Camera in video monitoring equipment analyzes video image data in the last 5s of green light basal latency,
Identification counts waiting pedestrian's number in image.
The green light duration and red light duration that traffic light control system provided in an embodiment of the present invention determines
It is provided with duration bound;Wherein red light duration lower limit is time of the pedestrains safety by crossing, and the upper limit is vapour
Maximum patience time when vehicle driver waits;Green light duration lower limit is 30s, and the upper limit is that crossing waits the maximum of pedestrian to bear
The resistance to time.
Driveway traffic lights duration calculation formula provided in an embodiment of the present invention are as follows:
1) driveway green light duration calculation formula
T1=30+MIN (t1,t2)
Wherein, T1For the major trunk roads green light duration;30 be green light basal latency, unit s, as green light duration
Lower limit;t1Green light when waiting pedestrian's number maximum value N to be greater than threshold value A for crossing two sides increases the time, is a dynamic value, single
Position is s;t2The maximum patience time of pedestrian is waited to subtract 30, i.e. (t for crossing2It+30) is the upper limit of green light duration, as
Crossing waits the maximum patience time of pedestrian, unit s.
2) driveway red light duration calculation formula
Wherein, T2For the major trunk roads red light duration;t3The time for passing through crossing for pedestrains safety;t4For driver
Maximum patience time when waiting;L is pedestrian's number that half pedestrian passage width can be parallel;It indicates in " [] "
Value rounds up, and N indicates that crossing two sides wait pedestrian's number maximum value;A indicates threshold value.
As Figure 1-Figure 2, the traffic lights provided in an embodiment of the present invention applied to two-way multilane crossing crossing
Time-controllable method specifically includes the following steps:
S101, using garage's green light phase as original state, the original state duration is set as 30s;Green light direction
Vehicle normal pass, the pedestrian in other directions, which waits, to pass through;In the last 5s of green light basis 30s time, camera S1, camera
S2It identifies respectively, count pedestrian's number N that crossing crossing two sides wait1、N2And determine that two sides wait pedestrian's maximum value N.
S102, two sides pedestrian's maximum value N based on acquisition determine whether to terminate green light phase: as two sides pedestrian's maximum value N
When greater than threshold value A, then terminates green light phase, and pass through 3s amber light state, be converted to red light phase;As two sides pedestrian's maximum value N
When less than or equal to threshold value A, then green time continues to increase, while camera persistently detects identification pedestrian, and carries out corresponding state
It determines, if detecting that N value is greater than A value or green light phase time is more than the duration upper limit, green light phase terminates, by amber light
It is converted into red light.
S103, red light duration T2It is obtained according to the determination of red light duration calculation formula, after red light phase, is turned
It is changed to green light phase.
S104, after driveway is converted to green light phase, return step S101;After driveway is converted to red light phase, return to
Step S103.
In step S102, the green time provided in an embodiment of the present invention when two sides pedestrian's maximum value N is less than or equal to threshold value A
Continue to increase further include:
When time upper limit sustainable more than green light of current green light phase duration, then terminate green light phase, by 3s
Amber light state, is converted to red light phase.
Technical solution of the present invention and technical effect are described further combined with specific embodiments below.
Embodiment 1:
The present invention relies on the crossing crossing scene of two-way multilane, and crossing is equipped with for monitoring passage situation
Video monitoring equipment.Present invention application video image identification technology, by analyzing the collected real-time video of crossing monitoring device
Image identifies that the waiting pedestrian's number determined at crossing, traffic light control system determine garage according to waiting pedestrian's number respectively
Road red light duration and green light duration.
The scene figure of traffic light time regulation method applied to two-way multilane crossing crossing is as shown in Figure 3.
In the scene, down direction road camera S1Identify waiting pedestrian's number N on the left of crossing1;Up direction road is taken the photograph
As head S2Identify waiting pedestrian's number N on the right side of crossing2。
In embodiments of the present invention, the traffic lights are that driveway the traffic light status is shown, and is described below related
Chronomere is s.It specifically includes:
1, parameter setting and garage's traffic lights duration calculate:
1) maximum value of pedestrian's number, N=MAX (N N: are waited for people row cross junction two sides1, N2)。
2) A: pedestrian's number (calling threshold value in the following text), A value can be reached according to pedestrian when converting for driveway and walkway signal lamp
The Mean Time Between Replacement or average arrival rate at crossing determine.
3) green light duration calculation formula is as follows:
T1=30+MIN (t1,t2)。
Wherein: T1For the major trunk roads green light duration;30s is green light basal latency, the as lower limit of green light duration;
t1Green light when waiting pedestrian's number maximum value N to be greater than threshold value A for crossing two sides increases the time, is a dynamic value;t2For crossing etc.
Maximum patience time to pedestrian subtracts 30s, i.e. (t2+ 30) s is the upper limit of green light duration.
4) red light duration calculation formula is as follows:
Wherein: T2For the major trunk roads red light duration;t3It is pedestrains safety by the time at crossing, determining for the numerical value needs
Consider the passage speed and pavement length of pedestrian;t4Maximum patience time when being waited for driver;L is half people
Row of channels width can be parallel pedestrian's number, the determination of the numerical value need to comprehensively consider between sidewalk width, pedestrian reasonably away from
Sow discord every;[(N-A)/L] expression rounds up to the value in " [] ".
2, specifically regulate and control method:
Step 1:
(1) when driveway is green light phase, the vehicle pass-through of two direction of traffic, crossing crossing two sides pedestrian etc.
To.
(2) in the last 5s of green light basal latency, camera S1、S2It identifies respectively, count the waiting of crossing crossing two sides
Pedestrian's number N1、N2And determine that two sides wait pedestrian's maximum value N.
(3) determine whether to terminate green light phase according to waiting pedestrian's number N.
(4) according to N value, it is divided into following two situation:
1) as N≤A: green time continues to increase, and camera, which continues to test, waits pedestrian's number.If the situation continues,
For green light more than after the upper limit, end green light phase is converted to red light phase by 3s amber light state.
2) as N > A: terminating green light phase by 3s amber light state and be converted to red light phase.
Step 2: being calculated the red light duration, after red light phase, be converted to green light phase.
Step 3: after driveway is converted to green light phase, returning to step 1.
Step 4: after driveway is converted to red light phase, returning to step 2.
Embodiment 2:
The scene that the present invention applies such as Fig. 3 illustrates, and is mounted on video monitoring equipment on the road of uplink and downlink both direction,
And it can monitor crossing crossing two sides pedestrian's waiting area.Present invention application video image identification technology, by analyzing road
The mouth collected real time video image of monitoring device, identifies the waiting pedestrian's number determined at crossing.What the embodiment of the present invention used
Traffic light time unit is s.
In two-way six-lane scene, down direction road camera S1Identify waiting pedestrian's number N on the left of crossing1;Uplink
Direction road camera S2Identify waiting pedestrian's number N on the right side of crossing2;On this basis, determine that two sides wait pedestrian's maximum value N.
T is set1For green light duration, T2For the red light duration.
In this scenario, t is set2=30s sets the green light duration upper limit as 60s;It is wide to set half pedestrian passage
Spend pedestrian's number L=4 that can be parallel;Pedestrains safety is set by the time at crossing as t3=23s;When setting driver's waiting
Maximum patience time t4=60s;Given threshold A=13.
The calculation formula of garage's traffic lights duration is as follows:
1) garage's green light duration calculation formula:
T1=30+MIN (t1,30)。
2) garage's red light duration calculation formula:
In the present embodiment, original state is garage's green light phase, duration 30s, the vehicle of two direction of traffic
Current, crossing crossing two sides pedestrian waits.In the last 5s of green light basal latency, i.e., the 25th second starts, camera S1、S2
Identification counts pedestrian's number N that crossing crossing two sides wait respectively1、N2And it determines and waits pedestrian's maximum value N.Hereafter, according to etc.
The green light phase to the end of pedestrian's number N determines whether.
If N≤13.Green time continues to increase on basal latency, and camera, which continues to test, waits pedestrian's number.If detection
Persistently it is no more than threshold value to N, then green time continues growing, until green light phase terminates, by 3s amber light shape after reaching 60s
State is converted to red light phase;If at a certain moment, detecting N > 13, it is assumed that green time is 46s at this time, and green light phase is tied immediately
Beam is converted to red light phase by amber light state.
If N > 13 assume N at this time1=25, N2=9, i.e. N=25 terminate after green light reaches 30s, by 3s amber light shape
State is converted to red light phase.
After being converted to red light phase, the vehicle of crossing crossing two sides walk, both direction is waited.According to green light
Period, finally detected N value determined the red light duration.
If N≤13, the red light duration is the time 23s that pedestrains safety passes through crossing, after red time reaches 23s,
Red light terminates, and is hereafter converted directly into green light phase.
If N > 13, it is assumed that N1=25, N2=9, i.e. N=25.According to red light duration calculation formula, T2=MIN (23+
[(N-13)/4] * 2,60), i.e. T2=29s.After red time reaches 29s, red light terminates, and is hereafter converted to green light phase.
After driveway is converted to green light phase, when determining that next green light duration and red light continue in the same way
Between.Successively every case is handled according to aforesaid way, is repeated no more.
The present embodiment is extended to two-way two lane highways, two-way four-lane for two-way six-lane crossing crossing
Etc. road scenes traffic light time regulation.By carrying out simple extension to the present invention, to realize that two-way multilane people row is horizontal
The traffic lights duration dynamic regulation at road crossing.
Below with reference to experiment, the invention will be further described.
The present invention uses Vissim traffic simulation software, to Wuhan City, the square Hua Cheng crossing crossing, friendship main road
It is modeled, and carries out fixation timing scheme and traffic light time regulation method of the invention that traffic lights time length ratio is 27:40s
Contrast simulation experiment.The traffic flow data of experiment is obtained by the practical investigation to crossing, and test period is 6 total when 18
12 hours, evaluation index and experimental result are as follows:
The vehicle total delay time: the sum of the average value of 6 lanes all vehicle delay time at stop.
Maximum queue length: the maximum value of vehicle queue length in all lanes.
Pedestrian delays time average: the average value of all pedestrian delays time data.
The vehicle total delay time compares (s) table 1
As shown in figure 4, dynamically averagely shortening 29.13% with the vehicle total delay time at present compared to fixed timing.
Maximum queue length compares () table 2
As shown in figure 5, dynamically averagely shortening 32.93% with maximum queue length at present compared to fixed timing.
Pedestrian delays time average compares (s) table 3
As shown in fig. 6, dynamically averagely being extended with pedestrian delays time average at present compared to fixed timing
12.27%.
The pedestrian delays time average of more walk period compares (s) table 4
As shown in fig. 7, compared to fixed timing, in the more walk period, dynamically with the pedestrian delays time at present
Mean value averagely shortens 12.03%.
As shown in figure 8, being the three-dimensional scene of simulation model.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.