CN107016862B - A kind of traffic lamp control method and system - Google Patents
A kind of traffic lamp control method and system Download PDFInfo
- Publication number
- CN107016862B CN107016862B CN201710459271.7A CN201710459271A CN107016862B CN 107016862 B CN107016862 B CN 107016862B CN 201710459271 A CN201710459271 A CN 201710459271A CN 107016862 B CN107016862 B CN 107016862B
- Authority
- CN
- China
- Prior art keywords
- vehicle threshold
- threshold range
- trunk roads
- major trunk
- master
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/07—Controlling traffic signals
- G08G1/08—Controlling traffic signals according to detected number or speed of vehicles
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Traffic Control Systems (AREA)
Abstract
The embodiment of the invention provides a kind of traffic lamp control method and systems, it include: the first quantity according to the vehicle waited on major trunk roads, determine the corresponding duration of preset major trunk roads vehicle threshold range as the first long green light time, and be compared the destination number of vehicle unsanctioned on major trunk roads with destination number threshold value, determine the second long green light time on non-major trunk roads: when destination number is greater than destination number threshold value, the second long green light time is preset duration;When destination number is not more than destination number threshold value, according on non-major trunk roads it is equal to vehicle the second quantity, determine a length of second long green light time when preset non-master trunk road vehicle threshold range is corresponding.The technical solution provided through the embodiment of the present invention reasonably distributes traffic resource under the premise of guaranteeing major trunk roads priority pass.
Description
Technical field
The present invention relates to technical field of traffic control, more particularly to a kind of traffic lamp control method and system.
Background technique
Since there are the vehicles, traffic control is also come into being, especially modern age, in order to guarantee the friendship of highly effective and safe
Logical order, produces a series of traffic rules, and traffic lights is one of.Traditional traffic lights is using " fixed pairing "
Mode is controlled, i.e. red light and green light time for showing the fixation duration of setting respectively.But with city vehicle ownership
When rapid growth, especially different periods are larger by the vehicle flowrate diversity ratio at crossing, traditional traffic light control system is not
Traffic pressure can be alleviated, it is more serious to will lead to congestion instead.
In order to solve the problems, such as that conventional traffic lamp control system cannot adapt to the uncertain of vehicle flowrate, currently, traffic lights
Control method mainly using half induction control algolithm.Crossing is divided into major trunk roads and non-major trunk roads in half induction control algolithm,
Vehicle flowrate on major trunk roads is far longer than the vehicle flowrate on non-major trunk roads, should the purpose of induction control algolithm be partly to guarantee major trunk roads
Traffic keep smooth, the traffic only when the waiting vehicle on non-major trunk roads reaches the waiting number of setting, on major trunk roads
Lamp becomes red light, and the traffic lights on non-major trunk roads becomes green light, and otherwise, the traffic lights on major trunk roads is green light always.
Under normal circumstances, the traffic lamp control method of half induction control algolithm can alleviate major trunk roads to a certain extent
On traffic pressure.However, at dead of night etc. particular times when, there is no vehicle pass-through on major trunk roads, rather than have vehicle on major trunk roads
When waiting but being not up to the waiting number of setting, at this moment the vehicle on non-major trunk roads just needs to wait always.In this way, resulting in
The waste of traffic resource and serious unreasonable distribution.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of traffic lamp control method and system, to realize the conjunction of traffic resource
Reason distribution.Specific technical solution is as follows:
In a first aspect, the embodiment of the invention provides a kind of traffic lamp control method, applied to the traffic lights of crossroad,
The crossroad is divided into major trunk roads and non-major trunk roads, and the traffic lights includes the first traffic lights for controlling major trunk roads vehicle pass-through
And the second traffic lights that the non-master trunk road vehicle of control is current;The described method includes:
The first predetermined time before the first traffic lights becomes green light by red light, obtains the vehicle waited on the major trunk roads
The first quantity;
Preset major trunk roads vehicle threshold range in the first quantitative range group corresponding to first quantity is determined, by institute
The corresponding duration of preset major trunk roads vehicle threshold range is stated as the first long green light time;
The second predetermined time before the green light becomes next red light, obtains the vehicle waited on the major trunk roads
Destination number, and judge whether the destination number is greater than preset destination number threshold value;
If the destination number is greater than the destination number threshold value, corresponding second traffic of next red light is determined
Second long green light time of lamp is preset duration;
If the destination number is not more than the destination number threshold value, the second quantity model corresponding to the second quantity is determined
Preset non-master trunk road vehicle threshold range in group is enclosed, the corresponding duration of the preset non-master trunk road vehicle threshold range is made
For second long green light time, wherein second quantity is that second traffic lights is become the third before green light by red light
Predetermined time, on the non-major trunk roads it is equal to vehicle quantity, wherein the preset non-master trunk road vehicle threshold range pair
The maximum value for the duration answered is not more than the minimum value of the corresponding duration of the preset major trunk roads vehicle threshold range.
Optionally, the first quantitative range group is divided by the first major trunk roads vehicle threshold value and the second major trunk roads vehicle threshold value
At three continuous major trunk roads vehicle threshold ranges, wherein the first major trunk roads vehicle threshold range is not more than the first major trunk roads vehicle
Threshold value;Third major trunk roads vehicle threshold range is not less than the second major trunk roads vehicle threshold value;Second major trunk roads vehicle threshold range
Between the first major trunk roads vehicle threshold value and the second major trunk roads vehicle threshold value;
Preset major trunk roads vehicle threshold range in first quantitative range group corresponding to determination first quantity,
Using the corresponding duration of the preset major trunk roads vehicle threshold range as the step of the first long green light time, comprising:
Determine the corresponding first major trunk roads vehicle threshold range of first quantity, the second major trunk roads vehicle threshold range still
Third major trunk roads vehicle threshold range;
When first quantity corresponds to the first major trunk roads vehicle threshold range or the third major trunk roads vehicle threshold value
When range, by the first major trunk roads vehicle threshold range or the corresponding default fixation of the third major trunk roads vehicle threshold range
Duration is as first long green light time;Wherein, the corresponding default fixed duration of the first major trunk roads vehicle threshold range is small
In the corresponding default fixed duration of the third major trunk roads vehicle threshold range;
When first quantity corresponds to the second major trunk roads vehicle threshold range, calculated according to preset first algorithm
First long green light time.
Optionally, the second quantitative range group is by the first non-master trunk road vehicle threshold value and the second non-master trunk road vehicle threshold value
It is divided into three continuous non-master trunk road vehicle threshold ranges, wherein the first non-master trunk road vehicle threshold range is not more than first
Non-master trunk road vehicle threshold value;The non-master trunk road vehicle threshold range of third is not less than the second non-master trunk road vehicle threshold value;Second is non-master
Trunk road vehicle threshold range is between the first non-master trunk road vehicle threshold value and the second non-master trunk road vehicle threshold value;
Preset non-master trunk road vehicle threshold value model in second quantitative range group corresponding to determination second quantity
It encloses, using the corresponding duration of the preset non-master trunk road vehicle threshold range as corresponding second traffic of the next red light
The step of second long green light time of lamp, comprising:
Determine second quantity corresponding first non-master trunk road vehicle threshold range, the second non-master trunk road vehicle threshold range
Or the non-master trunk road vehicle threshold range of third;
When second quantity corresponds to the described first non-master trunk road vehicle threshold range or the non-master trunk road vehicle of the third
It is when threshold range, the described first non-master trunk road vehicle threshold range or the non-master trunk road vehicle threshold range of the third is corresponding
Default fixed duration is as second long green light time;Wherein, the described first non-master trunk road vehicle threshold range is corresponding default
Fixed duration is less than the corresponding default fixed duration of the non-master trunk road vehicle threshold range of the third;
When second quantity corresponds to the described second non-master trunk road vehicle threshold range, according to preset second algorithm meter
Calculate second long green light time.
Optionally, described the step of first long green light time is calculated according to preset first algorithm, comprising:
By the numerical value of first quantity divided by 10, the first numerical value is obtained;
Judge whether first numerical value has decimal place, when first numerical value has decimal place, removes decimal place and incite somebody to action
Integer-bit adds 1, obtains second value;When first numerical value does not have decimal place, the second value is equal to first number
Value;
By the second value multiplied by 10, the corresponding numerical value of first long green light time is obtained.
Optionally, described the step of second long green light time is calculated according to preset second algorithm, comprising:
By the numerical value of second quantity divided by 10, third value is obtained;
Judge whether the third value has decimal place, when the third value has decimal place, removes decimal place and incite somebody to action
Integer-bit adds 1, obtains the 4th numerical value;When the third value does not have decimal place, the 4th numerical value is equal to the third number
Value;
By the 4th numerical value multiplied by 10, the corresponding numerical value of second long green light time is obtained.
Second aspect, the embodiment of the invention provides a kind of traffic light control system, applied to the traffic lights of crossroad,
The crossroad is divided into major trunk roads and non-major trunk roads, and the traffic lights includes the first traffic lights for controlling major trunk roads vehicle pass-through
And the second traffic lights that the non-master trunk road vehicle of control is current;The traffic light control system include: the first detector of traffic information,
Programmable logic controller (PLC), the second detector of traffic information;
First detector of traffic information, when default for first before the first traffic lights becomes green light by red light
It carves, obtains the first quantity of the vehicle waited on the major trunk roads;
The programmable logic controller (PLC) waits on the major trunk roads for obtaining in first detector of traffic information
Vehicle the first quantity after, determine preset major trunk roads vehicle in the first quantitative range group corresponding to first quantity
Threshold range, using the corresponding duration of the preset major trunk roads vehicle threshold range as the first long green light time;
First detector of traffic information, when default for second before the green light becomes next red light
It carves, obtains the destination number of the vehicle waited on the major trunk roads, and judge whether the destination number is greater than preset target
Amount threshold;
The programmable logic controller (PLC) waits on the major trunk roads for obtaining in first detector of traffic information
Vehicle destination number, and judge the destination number be greater than the destination number threshold value after, determine described next red
Second long green light time of corresponding second traffic lights of lamp is preset duration;Alternatively, being obtained in first detector of traffic information
Take the destination number of the vehicle waited on the major trunk roads, and judge the destination number no more than the destination number threshold value it
Afterwards, preset non-master trunk road vehicle threshold range in the second quantitative range group corresponding to second quantity is determined, it will be described
The corresponding duration of preset non-master trunk road vehicle threshold range is as second long green light time, wherein second quantity is
Second traffic lights is become the third predetermined time before green light by red light, acquired in second detector of traffic information
On the non-major trunk roads it is equal to vehicle quantity, wherein the corresponding duration of the preset non-master trunk road vehicle threshold range
Maximum value duration corresponding no more than the preset major trunk roads vehicle threshold range minimum value.
Optionally, the first quantitative range group is divided by the first major trunk roads vehicle threshold value and the second major trunk roads vehicle threshold value
At three continuous major trunk roads vehicle threshold ranges, wherein the first major trunk roads vehicle threshold range is not more than the first major trunk roads vehicle
Threshold value;Third major trunk roads vehicle threshold range is not less than the second major trunk roads vehicle threshold value;Second major trunk roads vehicle threshold range
Between the first major trunk roads vehicle threshold value and the second major trunk roads vehicle threshold value;
The programmable logic controller (PLC) waits on the major trunk roads for obtaining in first detector of traffic information
Vehicle the first quantity after, be specifically used for:
Determine the corresponding first major trunk roads vehicle threshold range of first quantity, the second major trunk roads vehicle threshold range still
Third major trunk roads vehicle threshold range;
When first quantity corresponds to the first major trunk roads vehicle threshold range or the third major trunk roads vehicle threshold value
When range, by the first major trunk roads vehicle threshold range or the corresponding default fixation of the third major trunk roads vehicle threshold range
Duration is as first long green light time;Wherein, the corresponding default fixed duration of the first major trunk roads vehicle threshold range is small
In the corresponding default fixed duration of the third major trunk roads vehicle threshold range;
When first quantity corresponds to the third major trunk roads vehicle threshold range, calculated according to preset first algorithm
First long green light time.
Optionally, the second quantitative range group is by the first non-master trunk road vehicle threshold value and the second non-master trunk road vehicle threshold value
It is divided into three continuous non-master trunk road vehicle threshold ranges, wherein the first non-master trunk road vehicle threshold range is not more than first
Non-master trunk road vehicle threshold value;The non-master trunk road vehicle threshold range of third is not less than the second non-master trunk road vehicle threshold value;Second is non-master
Trunk road vehicle threshold range is between the first non-master trunk road vehicle threshold value and the second non-master trunk road vehicle threshold value;
The programmable logic controller (PLC) waits on the major trunk roads for obtaining in first detector of traffic information
Vehicle destination number, and judge that the destination number no more than after the destination number threshold value, is specifically used for:
Determine second quantity corresponding first non-master trunk road vehicle threshold range, the second non-master trunk road vehicle threshold range
Or the non-master trunk road vehicle threshold range of third;
When second quantity corresponds to the described first non-master trunk road vehicle threshold range or the non-master trunk road vehicle of the third
It is when threshold range, the described first non-master trunk road vehicle threshold range or the non-master trunk road vehicle threshold range of the third is corresponding
Default fixed duration is as second long green light time;Wherein, the described first non-master trunk road vehicle threshold range is corresponding default
Fixed duration is less than the corresponding default fixed duration of the non-master trunk road vehicle threshold range of the third;
When second quantity corresponds to the described second non-master trunk road vehicle threshold range, according to preset second algorithm meter
Calculate second long green light time.
Optionally, the programmable logic controller (PLC), is specifically used for:
By the numerical value of first quantity divided by 10, the first numerical value is obtained;
Judge whether first numerical value has decimal place, when first numerical value has decimal place, removes decimal place and incite somebody to action
Integer-bit adds 1, obtains second value;When first numerical value does not have decimal place, the second value is equal to first number
Value;
By the second value multiplied by 10, the corresponding numerical value of first long green light time is obtained.
Optionally, the programmable logic controller (PLC), is specifically used for:
By the numerical value of second quantity divided by 10, third value is obtained;
Judge whether the third value has decimal place, when the third value has decimal place, removes decimal place and incite somebody to action
Integer-bit adds 1, obtains the 4th numerical value;When the third value does not have decimal place, the 4th numerical value is equal to the third number
Value;
By the 4th numerical value multiplied by 10, the corresponding numerical value of second long green light time is obtained.
In a kind of technical solution provided in an embodiment of the present invention, according to the first quantity of the vehicle waited on major trunk roads, really
The corresponding duration of fixed preset major trunk roads vehicle threshold range is as the first long green light time, and by vehicle unsanctioned on major trunk roads
Destination number be compared with destination number threshold value, determine the second long green light time on non-major trunk roads: when destination number is greater than
The second long green light time is preset duration when destination number threshold value;When destination number is not more than destination number threshold value, according to non-
Second quantity of the vehicle waited on major trunk roads determines when preset non-master trunk road vehicle threshold range is corresponding that a length of second is green
Lamp duration.The technical solution provided through the embodiment of the present invention, the long green light time on major trunk roads is according to the vehicle waited on major trunk roads
Quantity determined that the long green light time on non-major trunk roads is according in the quantity of vehicle unsanctioned on major trunk roads and non-major trunk roads
Two factors of vehicle of waiting determine jointly, in this way, reasonably distributing traffic money under the premise of guaranteeing major trunk roads priority pass
Source.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of application scenario diagram of traffic lamp control method provided in an embodiment of the present invention;
Fig. 2 is a kind of a kind of flow chart of traffic lamp control method provided in an embodiment of the present invention;
Fig. 3 is the specific flow chart of step S202 in embodiment illustrated in fig. 2;
Fig. 4 is the specific flow chart of step S205 in embodiment illustrated in fig. 2;
Fig. 5 is a kind of a kind of structural schematic diagram of traffic light control system provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
In order to realize the reasonable distribution of traffic resource, the embodiment of the invention provides a kind of traffic lamp control method and it is
System.
As shown in Figure 1, the embodiment of the present invention is applied to the traffic lights of crossroad, crossroad is divided into 100 He of major trunk roads
The traffic lights of non-major trunk roads 200, control 100 vehicle pass-through of major trunk roads is the first traffic lights 110, controls non-200 vehicle of major trunk roads
The second current traffic lights 210.Under normal circumstances, the vehicle flowrate on major trunk roads 100 is greater than the vehicle flowrate on non-major trunk roads 200,
Therefore, principle of the control of traffic lights according to major trunk roads priority pass, non-200 moment of major trunk roads cooperation major trunk roads 100 are to ensure
City road network it is unimpeded.
The embodiment of the present invention at this with one of them first traffic lights 110 on major trunk roads 100, on non-major trunk roads 200
Traffic lamp control method of the invention is illustrated for one of them second traffic lights 210.Also, on major trunk roads 100
The first traffic lights 110 when being green light, the vehicle on each lane of major trunk roads 100 all presses that road surface identification is current, i.e., road surface identification is
Vehicle straight trip on the lane of straight trip, road surface identification are that the vehicle on left turn lane turns left to pass through;In the first traffic lights 110 by green
After lamp becomes red light, the second traffic lights 210 on non-major trunk roads 200 becomes green light from red light, at this point, each vehicle of non-major trunk roads 200
Vehicle on road is current by road surface identification, i.e., road surface identification is the vehicle straight trip on Through Lane, and road surface identification is left turn lane
On vehicle turn left pass through.
It is understood that the application of the embodiment of the present invention is not limited only to above situation, T-shaped road junction can also be applied to
Traffic light control.
A kind of traffic lamp control method provided in an embodiment of the present invention is introduced first below.
As shown in Fig. 2, a kind of traffic lamp control method provided in an embodiment of the present invention, includes the following steps:
S201, the first predetermined time before the first traffic lights becomes green light by red light, obtain on the major trunk roads etc.
To vehicle the first quantity.
First predetermined time is that the first traffic lights is become the time point before green light by red light, also, this first it is default when
It is longer to can be the time between at the time of customized setting, the first predetermined time and the first traffic lights become green light by red light quarter,
So the first acquired quantity may be bigger with actual error.Therefore, in order to reduce accessed the first quantity and reality
Error, the first predetermined time is closer at the time of should being arranged to become green light by red light from the first traffic lights.For example, first
1 second or 2 seconds before at the time of the first traffic lights becomes green light by red light can be set in predetermined time.
The method for obtaining the first quantity of the vehicle waited can be to be obtained by detector of traffic information, wherein traffic
Information detector can detecte the vehicle of static vehicle and movement, be further divided into video detector according to performance, coil is examined
Survey device, microwave detector etc..Detector of traffic information obtains corresponding detection data by detecting to each lane.
Illustratively, video detector is monitored lane by camera, wherein a camera can cover 3 vehicles
Road, detection range is up to 50-150 meters;When needing larger range of detection, can different points be arranged camera, pass through by
The camera of each point is associated together, can further expansion detection range.Currently, detector of traffic information is static to lane
For the accuracy rate of vehicle detection up to 95%, the detector of traffic information of high-accuracy is more advantageous to rationally setting major trunk roads and non-master
The long green light time of arterial highway, to more reasonably distribute path resource.
It should be noted that the first quantity in the present embodiment is dimension word, it is the word of tape unit, and after specification
The numerical value of first quantity mentioned by face is then the number of not tape unit.For example, the vehicle waited on the major trunk roads got has
60, then the first quantity is 60, and the numerical value of the first quantity is 60.
S202 determines preset major trunk roads vehicle threshold value model in the first quantitative range group corresponding to first quantity
It encloses, using the corresponding duration of the preset major trunk roads vehicle threshold range as the first long green light time.
In order to be accurately determined the duration of major trunk roads green light, the first quantitative range group can be preset, in the first quantity model
It encloses in group, presets multiple major trunk roads vehicle threshold ranges and multiple durations, also, major trunk roads vehicle threshold range and duration are in pair
It should be related to, optionally, different major trunk roads vehicle threshold ranges corresponds to different durations.
Wherein, duration can be there are two types of type: a kind of duration is fixed value;Another duration is by preset algorithm meter
Obtained value is calculated, in this case, obtained duration can be different.
Illustratively, one of threshold range in multiple major trunk roads vehicle threshold ranges is vehicle number less than 60, should
A length of 60 seconds when corresponding to threshold range, then, when the first quantity is 50, vehicle number is less than 60, and the threshold value model
It is 60 seconds a length of when enclosing corresponding, at this point, the first long green light time is 60 seconds.
Illustratively, one of threshold range in multiple major trunk roads vehicle threshold ranges are as follows: vehicle number be greater than 60 and
Less than 120;A length of obtained value of preset algorithm, the preset algorithm when corresponding to the threshold range specifically: the first number
The numerical value of amount is equal with the numerical value of duration corresponding to the threshold range, i.e. the numerical value of the first quantity is how many, then corresponding
The numerical value of duration be how many.When the first quantity is 70, vehicle number is greater than 60 and less than 120, according to preset algorithm
70 seconds a length of when can be obtained corresponding, therefore, the first long green light time is 70 seconds;When the first quantity is 110, according to default
Algorithm is 110 seconds a length of when can be obtained corresponding, at this point, the first long green light time is 110 seconds.
It should be noted that correspondence refers in corresponding threshold range, example in embodiment provided by the present invention
Such as, preset major trunk roads vehicle threshold range in the first quantitative range group corresponding to the first quantity, refers to the first quantity pre-
If major trunk roads vehicle threshold range in.
S203, the second predetermined time before the green light becomes next red light, obtains and waits on the major trunk roads
Vehicle destination number, and judge whether the destination number is greater than preset destination number threshold value;When being judged as YES, execute
S204 when being judged as NO, executes S205.
It can be that green light becomes amber light, amber light becomes red light again in the detailed process that the green light becomes next red light
Process.Second predetermined time is that the first traffic lights is become the time point before red light by green light, also, second predetermined time can
It is longer with the time between at the time of to be customized setting, the second predetermined time and the first traffic lights become red light by green light, then
Acquired destination number may be bigger with actual error.Therefore, in order to reduce accessed destination number and actual mistake
Difference, the second predetermined time are closer at the time of should being arranged to become red light by green light from the first traffic lights.For example, second is default
Moment can be set at the time of the first traffic lights becomes red light by green light before 1 second or 2 seconds.
Optionally, time difference between at the time of the second predetermined time and the first traffic lights become red light by green light can be with
Time difference setting between at the time of first predetermined time and the first traffic lights become green light by red light is identical.Illustratively, second
Predetermined time is set as at the time of 1 second before at the time of the first traffic lights becomes red light by green light, the setting of the first predetermined time
For 1 second before at the time of the first traffic lights becomes green light by red light at the time of.
The destination number of the vehicle waited on the major trunk roads that the second predetermined time obtains is also unsanctioned on major trunk roads
The quantity of vehicle needs to wait next green light ability P Passable.
It is unobstructed on major trunk roads in order to guarantee because of the principle of major trunk roads priority pass, it needs to not passing through on major trunk roads
Vehicle be monitored;If unsanctioned vehicle is relatively more on major trunk roads, comparison that the long green light time of non-major trunk roads can be arranged
It is short, and if when unsanctioned vehicle is fewer on major trunk roads, the long green light time on non-major trunk roads can be set longer.
The destination number that will acquire is compared with preset destination number threshold value, and it is default to judge whether destination number is greater than
Destination number threshold value, wherein destination number threshold value can be customized setting, specifically, can rule of thumb or system
It counts and obtains suitable threshold value, for example, it is 60 that destination number threshold value, which can be set,.
S204 determines next red light corresponding the if the destination number is greater than the destination number threshold value
Second long green light time of two traffic lights is preset duration.
In the case where destination number is greater than destination number threshold value, at this point, unsanctioned vehicle is more on major trunk roads, need
By the shorter of the long green light time setting on non-major trunk roads, accordingly, it is determined that the second long green light time is preset duration.Wherein, this
Two long green light times with the duration of next red light on major trunk roads be it is corresponding, it is a length of when this is preset customized to preset
Fixation duration value, for example, a length of 30 seconds when can be set preset.
S205 is determined corresponding to second quantity if the destination number is not more than the destination number threshold value
Preset non-master trunk road vehicle threshold range in second quantitative range group, by the preset non-master trunk road vehicle threshold range pair
The duration answered is as second long green light time.
Preset non-master trunk road vehicle threshold range in second quantitative range group corresponding to second quantity refers to the second number
Amount is in preset non-master trunk road vehicle threshold range.Wherein, the second quantity be the second traffic lights by red light become green light it
Preceding third predetermined time, on non-major trunk roads it is equal to vehicle quantity.
Wherein, third predetermined time can be customized setting, and third predetermined time is become with the second traffic lights by red light
The time is longer between at the time of green light, then the second acquired quantity may be bigger with actual error.Therefore, in order to reduce
The second quantity and actual error got, third predetermined time should be arranged to become green light by red light from the second traffic lights
At the time of it is closer.For example, third predetermined time can be set at the time of the second traffic lights becomes green light by red light before 1
At the time of second or 2 seconds.
Optionally, time difference between at the time of third predetermined time and the second traffic lights become green light by red light can be with
Time difference, the second predetermined time and first between at the time of first predetermined time and the first traffic lights become green light by red light hand over
Time difference between at the time of logical lamp becomes red light by green light is respectively provided with identical.Illustratively, third predetermined time is set as
At the time of 1 second before at the time of two traffic lights become green light by red light, the second predetermined time is set as in the first traffic lights by green
At the time of 1 second before at the time of lamp becomes red light, the first predetermined time is set as becoming green light by red light in the first traffic lights
Before moment at the time of 1 second.
Further, in the case where destination number is not more than destination number threshold value, at this point, unsanctioned vehicle on major trunk roads
It is less, the long green light time on non-major trunk roads can be arranged longer, and the long green light time on non-major trunk roads can basis
On non-major trunk roads it is equal to vehicle quantity setting.
Second quantitative range group be it is preset, in the second quantitative range group, preset multiple non-master trunk road vehicles
Threshold range and multiple durations, also, non-master trunk road vehicle threshold range and duration are in corresponding relationship, i.e., different non-major trunk roads
Vehicle threshold range corresponds to different durations.
Wherein, duration can be there are two types of type: a kind of duration is fixed value;Another duration is by preset algorithm meter
Obtained value is calculated, in this case, obtained duration can be different.
Illustratively, one of threshold range in multiple non-master trunk road vehicle threshold ranges is vehicle number less than 30,
A length of 30 seconds when corresponding to the threshold range, then, when the second quantity is 20, vehicle number is less than 30, and the threshold value
A length of 30 seconds when corresponding to range, at this point, the second long green light time is 30 seconds.
Illustratively, one of threshold range in multiple non-master trunk road vehicle threshold ranges are as follows: vehicle number is greater than 30
And less than 60;A length of obtained value of preset algorithm, the preset algorithm when corresponding to the threshold range specifically: the second number
The numerical value of amount is equal with the numerical value of duration corresponding to the threshold range, i.e. the numerical value of the second quantity is how many, then corresponding
The numerical value of duration be how many.When the second quantity is 40, vehicle number is greater than 30 and less than 60, can according to preset algorithm
40 seconds a length of when obtaining corresponding, therefore, the first long green light time is 40 seconds;When the second quantity is 55, according to pre- imputation
Method is 55 seconds a length of when can be obtained corresponding, at this point, the second long green light time is 55 seconds.
Further, because will with the principle of major trunk roads priority pass, the vehicle no matter waited on major trunk roads how many, it is main
The time of each vehicle pass-through is centainly not less than the time of each vehicle pass-through on non-major trunk roads, i.e. green light on major trunk roads on arterial highway
Duration be centainly not less than the duration of green light on non-major trunk roads.Therefore, when preset non-master trunk road vehicle threshold range is corresponding
Long maximum value is not more than the minimum value of the corresponding duration of the preset major trunk roads vehicle threshold range.Illustratively, preset
The maximum value of the corresponding duration of non-master trunk road vehicle threshold range is 60 seconds, and the preset major trunk roads vehicle threshold range is corresponding
Duration minimum value be 60 seconds.
In a kind of technical solution provided in an embodiment of the present invention, according to the first quantity of the vehicle waited on major trunk roads, really
The corresponding duration of fixed preset major trunk roads vehicle threshold range is as the first long green light time, and by vehicle unsanctioned on major trunk roads
Destination number be compared with destination number threshold value, determine the second long green light time on non-major trunk roads: when destination number is greater than
The second long green light time is preset duration when destination number threshold value;When destination number is not more than destination number threshold value, according to non-
Second quantity of the vehicle waited on major trunk roads determines when preset non-master trunk road vehicle threshold range is corresponding that a length of second is green
Lamp duration.The technical solution provided through the embodiment of the present invention, the long green light time on major trunk roads is according to the vehicle waited on major trunk roads
Quantity determined that the long green light time on non-major trunk roads is according in the quantity of vehicle unsanctioned on major trunk roads and non-major trunk roads
Two factors of vehicle of waiting determine jointly, in this way, reasonably distributing traffic money under the premise of guaranteeing major trunk roads priority pass
Source.
In conjunction with above-described embodiment, the present invention also provides another specific embodiments, as shown in figure 3, above-mentioned steps S202, goes back
May include:
S301 determines first quantity corresponding first major trunk roads vehicle threshold range, the second major trunk roads vehicle threshold value model
Enclose still third major trunk roads vehicle threshold range.
First quantitative range group is divided into three continuously by the first major trunk roads vehicle threshold value and the second major trunk roads vehicle threshold value
Major trunk roads vehicle threshold range, wherein the first major trunk roads vehicle threshold value and the second major trunk roads vehicle threshold value can be customized
Setting.
The three continuous major trunk roads vehicle threshold ranges divided are respectively as follows: the first major trunk roads vehicle threshold range, second
Major trunk roads vehicle threshold range and third major trunk roads vehicle threshold range.Wherein, the first major trunk roads vehicle threshold range is not more than
First major trunk roads vehicle threshold value;Third major trunk roads vehicle threshold range is not less than the second major trunk roads vehicle threshold value;Second major trunk roads
Vehicle threshold range is between the first major trunk roads vehicle threshold value and the second major trunk roads vehicle threshold value.
Illustratively, when the first major trunk roads vehicle threshold value is 60, the second major trunk roads vehicle threshold value is 120, first is main
Trunk road vehicle threshold range is less than or equal to 60, and the second major trunk roads vehicle threshold range is greater than 60 and less than 120
, third major trunk roads vehicle threshold range is more than or equal to 120.
Determine the corresponding first major trunk roads vehicle threshold range of first quantity, the second major trunk roads vehicle threshold range still
Third major trunk roads vehicle threshold range.Illustratively, the range when the first quantity is 80, being greater than 60 and less than 120
It is interior, accordingly, it is determined that the first quantity is in the second major trunk roads vehicle threshold range.
S302, when first quantity corresponds to the first major trunk roads vehicle threshold range or the third major trunk roads vehicle
It is when threshold range, the first major trunk roads vehicle threshold range or the third major trunk roads vehicle threshold range is corresponding default
Fixed duration is as first long green light time.
Preset each major trunk roads vehicle threshold range and duration are in one-to-one relationship in first quantitative range group, i.e., and first
The corresponding default fixed duration T1 of major trunk roads vehicle threshold range, the second major trunk roads vehicle threshold range correspond to duration T2, third master
The corresponding default fixed duration T3 of trunk road vehicle threshold range, wherein T1, T2, T3 can be different.
When the corresponding first major trunk roads vehicle threshold range of the first quantity, the first long green light time is the first major trunk roads vehicle threshold
It is worth default fixed duration T1 corresponding to range;When the first quantity corresponds to third major trunk roads vehicle threshold range, the first green light
Default fixed duration T3 corresponding to Shi Changwei third major trunk roads vehicle threshold range.
Further, because the vehicle waited on major trunk roads is more, longer long green light time is more needed so as to clamp on
Vehicle passage as much as possible, therefore, the corresponding default fixed duration of the first major trunk roads vehicle threshold range are less than third trunk
The corresponding default fixed duration of road vehicle threshold range.
Illustratively, the first major trunk roads vehicle threshold range is the third major trunk roads vehicle threshold value model less than or equal to 60
It encloses for more than or equal to 120.If the time that each car passes through crossing is 1 second, then the first major trunk roads vehicle can be set
Default fixed duration T1 corresponding to threshold range is 60 seconds, when default fixed corresponding to third major trunk roads vehicle threshold range
Long T3 is 120 seconds,.When the first quantity is less than 60, then the first long green light time is 60 seconds at this time;When the first quantity is greater than 120
When, at this point, the first long green light time be 120 seconds.
S303 is calculated when first quantity corresponds to the second major trunk roads vehicle threshold range according to preset first
Method calculates first long green light time.
Second major trunk roads vehicle threshold range between the first major trunk roads vehicle threshold value and the second major trunk roads vehicle threshold value, when
When first quantity is between the first major trunk roads vehicle threshold value and the second major trunk roads vehicle threshold value, calculated according to preset first algorithm
First long green light time.
A kind of embodiment that the first long green light time is calculated according to preset first algorithm is into a method: by the first quantity
Numerical value obtains the first numerical value divided by 10;Judge whether the first numerical value has decimal place, when the first numerical value has decimal place, removes small
Integer-bit is simultaneously added 1 by numerical digit, obtains second value;When the first numerical value does not have decimal place, second value is equal to the first numerical value;It will
Second value obtains the corresponding numerical value of the first long green light time multiplied by 10.
Illustratively, when the first major trunk roads vehicle threshold value is 60, the second major trunk roads vehicle threshold value is 120, second is main
Trunk road vehicle threshold range is greater than 60 and less than 120, and when the first quantity is 75, the numerical value of the first quantity is 75,
According to above embodiment, can obtain the first numerical value is 7.5, and the first numerical value is the numerical value of mixed decimal position at this time, then by can into a method
Obtaining second value is 8, so that it is 80 that the corresponding numerical value of the first long green light time, which finally can be obtained, then the first long green light time is 80
Second.
In another embodiment, each car is set by the time at crossing as 1 second, then when the vehicle waited on major trunk roads
How many when just to the time in requisition for how many seconds.Therefore, when the first quantity is in the first major trunk roads vehicle threshold value and second
When between major trunk roads vehicle threshold value, then the numerical value of the first long green light time is set as the numerical value of first quantity.
Illustratively, when the first major trunk roads vehicle threshold value is 60, the second major trunk roads vehicle threshold value is 120, second is main
Trunk road vehicle threshold range is greater than 60 and less than 120, and when the first quantity is 68, the numerical value of the first quantity is 68,
So, the numerical value of the first long green light time is 68, is 68 seconds so as to obtain the first long green light time.
In a kind of technical solution provided in an embodiment of the present invention, according to the first quantity of the vehicle waited on major trunk roads, really
The corresponding duration of fixed preset major trunk roads vehicle threshold range is as the first long green light time, and by vehicle unsanctioned on major trunk roads
Destination number be compared with destination number threshold value, determine the second long green light time on non-major trunk roads: when destination number is greater than
The second long green light time is preset duration when destination number threshold value;When destination number is not more than destination number threshold value, according to non-
Second quantity of the vehicle waited on major trunk roads determines when preset non-master trunk road vehicle threshold range is corresponding that a length of second is green
Lamp duration.The technical solution provided through the embodiment of the present invention, the long green light time on major trunk roads is according to the vehicle waited on major trunk roads
Quantity determined that the long green light time on non-major trunk roads is according in the quantity of vehicle unsanctioned on major trunk roads and non-major trunk roads
Two factors of vehicle of waiting determine jointly, in this way, reasonably distributing traffic money under the premise of guaranteeing major trunk roads priority pass
Source.
In conjunction with above-described embodiment, the present invention also provides another specific embodiments, as shown in figure 4, above-mentioned steps S205, goes back
May include:
S401 determines second quantity corresponding first non-master trunk road vehicle threshold range, the second non-master trunk road vehicle threshold
It is worth range or the non-master trunk road vehicle threshold range of third.
Second quantitative range group is divided into three by the first non-master trunk road vehicle threshold value and the second non-master trunk road vehicle threshold value
Continuous non-master trunk road vehicle threshold range, wherein the first non-master trunk road vehicle threshold value and the second non-master trunk road vehicle threshold value are equal
It customized can set.
Divide three continuous non-master trunk road vehicle threshold ranges be respectively as follows: the first non-master trunk road vehicle threshold range,
Second non-master trunk road vehicle threshold range and the non-master trunk road vehicle threshold range of third.Wherein, the first non-master trunk road vehicle threshold value
Range is not more than the first non-master trunk road vehicle threshold value;The non-master trunk road vehicle threshold range of third is not less than the second non-master trunk road vehicle
Threshold value;Second non-master trunk road vehicle threshold range the first non-master trunk road vehicle threshold value and the second non-master trunk road vehicle threshold value it
Between.
Illustratively, when the first non-master trunk road vehicle threshold value is 30, the second non-master trunk road vehicle threshold value is 60, first
Non-master trunk road vehicle threshold range is less than or equal to 30, and the second non-master trunk road vehicle threshold range is greater than 30 and small
In 60, the non-master trunk road vehicle threshold range of third is more than or equal to 60.
Determine second quantity corresponding first non-master trunk road vehicle threshold range, the second non-master trunk road vehicle threshold range
Or the non-master trunk road vehicle threshold range of third.Illustratively, when the second quantity is 40, greater than 30 and less than 60
In range, accordingly, it is determined that the second quantity is in the second non-master trunk road vehicle threshold range.
S402, when second quantity corresponds to the described first non-master trunk road vehicle threshold range or the non-major trunk roads of the third
When vehicle threshold range, by the described first non-master trunk road vehicle threshold range or the non-master trunk road vehicle threshold range pair of the third
The duration answered is as second long green light time.
Preset each non-master trunk road vehicle threshold range and duration are in one-to-one relationship in second quantitative range group, i.e., and the
The corresponding default fixed duration t1 of one non-master trunk road vehicle threshold range, the second non-master trunk road vehicle threshold range correspond to duration t2,
The corresponding default fixed duration t3 of the non-master trunk road vehicle threshold range of third, wherein t1, t2, t3 can be different.
When the corresponding first non-master trunk road vehicle threshold range of the second quantity, the second long green light time is the first non-major trunk roads vehicle
Default fixed duration t1 corresponding to threshold range;When the second quantity corresponds to the non-master trunk road vehicle threshold range of third,
Two long green light times are default fixed duration t3 corresponding to the non-master trunk road vehicle threshold range of third.
Further, because the vehicle waited is more, longer long green light time is more needed so that the vehicle to clamp on to the greatest extent may be used
Passage more than energy, therefore, the corresponding default fixed duration of the first non-master trunk road vehicle threshold range are less than the non-major trunk roads vehicle of third
The corresponding default fixed duration of threshold range.
Illustratively, the first non-master trunk road vehicle threshold range is the non-master trunk road vehicle threshold of third less than or equal to 30
Being worth range is more than or equal to 60.If the time that each car passes through crossing is 1 second, then the first non-major trunk roads can be set
Duration t1 corresponding to vehicle threshold range is 30 seconds, and duration t3 corresponding to the non-master trunk road vehicle threshold range of third is 60
Second,.When the second quantity is less than 30, then the second long green light time is 30 seconds at this time;When the second quantity is greater than 60, at this point,
Second long green light time is 60 seconds.
S403, when second quantity corresponds to the described second non-master trunk road vehicle threshold range, according to preset second
Algorithm calculates second long green light time.
Second non-master trunk road vehicle threshold range is the first non-master trunk road vehicle threshold value and the second non-master trunk road vehicle threshold value
Between, when the second quantity is between the first non-master trunk road vehicle threshold value and the second non-master trunk road vehicle threshold value, according to preset
Second algorithm calculates the second long green light time.
A kind of embodiment that the second long green light time is calculated according to preset second algorithm is into a method: by the second quantity
Numerical value obtains third value divided by 10;Judge whether third value has decimal place, when third value has decimal place, removes small
Integer-bit is simultaneously added 1 by numerical digit, obtains the 4th numerical value;When third value does not have decimal place, the 4th numerical value is equal to third value;It will
4th numerical value obtains the corresponding numerical value of the second long green light time multiplied by 10.
Illustratively, when the first non-master trunk road vehicle threshold value is 30, the second non-master trunk road vehicle threshold value is 60, second
Non-master trunk road vehicle threshold range is greater than 30 and less than 60, and when the second quantity is 45, the numerical value of the second quantity is
45, according to above embodiment, can obtain third value is 4.5, and third value is the numerical value of mixed decimal position at this time, then by into a method
It is 5 that the 4th numerical value, which can be obtained, so that it is 50 that the corresponding numerical value of the second long green light time, which finally can be obtained, then the second long green light time is 80
Second.
In another embodiment, set each car by time at crossing as 1 second, then when on non-major trunk roads grade to
Vehicle how many when just to the time in requisition for how many seconds.Therefore, when the second quantity the first non-master trunk road vehicle threshold value with
When between the second non-master trunk road vehicle threshold value, then the numerical value of the second long green light time is set as the numerical value of second quantity.
Illustratively, when the first non-master trunk road vehicle threshold value is 30, the second non-master trunk road vehicle threshold value is 60, second
Non-master trunk road vehicle threshold range is greater than 30 and less than 60, and when the second quantity is 48, the numerical value of the second quantity is
48, then, the numerical value of the second long green light time is 48, is 48 seconds so as to obtain the second long green light time.
In a kind of technical solution provided in an embodiment of the present invention, according to the first quantity of the vehicle waited on major trunk roads, really
The corresponding duration of fixed preset major trunk roads vehicle threshold range is as the first long green light time, and by vehicle unsanctioned on major trunk roads
Destination number be compared with destination number threshold value, determine the second long green light time on non-major trunk roads: when destination number is greater than
The second long green light time is preset duration when destination number threshold value;When destination number is not more than destination number threshold value, according to non-
Second quantity of the vehicle waited on major trunk roads determines when preset non-master trunk road vehicle threshold range is corresponding that a length of second is green
Lamp duration.The technical solution provided through the embodiment of the present invention, the long green light time on major trunk roads is according to the vehicle waited on major trunk roads
Quantity determined that the long green light time on non-major trunk roads is according in the quantity of vehicle unsanctioned on major trunk roads and non-major trunk roads
Two factors of vehicle of waiting determine jointly, in this way, reasonably distributing traffic money under the premise of guaranteeing major trunk roads priority pass
Source.
Corresponding to the embodiment of the method for above-mentioned offer, the embodiment of the present invention also provides a kind of traffic light control system, application
Traffic lights in crossroad, the crossroad are divided into major trunk roads and non-major trunk roads, and the traffic lights includes control major trunk roads
The second current traffic lights of the first traffic lights and the non-master trunk road vehicle of control of vehicle pass-through, as shown in figure 5, the traffic lights control
System processed includes: the first detector of traffic information 510, programmable logic controller (PLC) 520, the second detector of traffic information 530;
First detector of traffic information 510, it is pre- for first before the first traffic lights becomes green light by red light
If the moment, the first quantity of the vehicle waited on the major trunk roads is obtained;
The programmable logic controller (PLC) 520, for obtaining the major trunk roads in first detector of traffic information 510
After first quantity of the vehicle of upper waiting, preset trunk in the first quantitative range group corresponding to first quantity is determined
Road vehicle threshold range, using the corresponding duration of the preset major trunk roads vehicle threshold range as the first long green light time;
First detector of traffic information 510, it is default for second before the green light becomes next red light
At the moment, the destination number of the vehicle waited on the major trunk roads is obtained, and judges whether the destination number is greater than preset mesh
Mark amount threshold;
The programmable logic controller (PLC) 520, for obtaining the major trunk roads in first detector of traffic information 510
The destination number of the vehicle of upper waiting, and judge the destination number be greater than the destination number threshold value after, determine it is described under
Second long green light time of corresponding second traffic lights of one red light is preset duration;Alternatively, being examined in first traffic information
It surveys device 510 and obtains the destination number of the vehicle waited on the major trunk roads, and judge the destination number no more than the target
After amount threshold, preset non-master trunk road vehicle threshold value model in the second quantitative range group corresponding to second quantity is determined
It encloses, using the corresponding duration of the preset non-master trunk road vehicle threshold range as second long green light time, wherein described
Two quantity are that second traffic lights is become the third predetermined time before green light, second detector of traffic information by red light
On the non-major trunk roads acquired in 530 it is equal to vehicle quantity, wherein the preset non-master trunk road vehicle threshold range
The maximum value of corresponding duration is not more than the minimum value of the corresponding duration of the preset major trunk roads vehicle threshold range.
Wherein, programmable logic controller (PLC) abbreviation PLC (Programmable Logic Controller), is a kind of number
Word arithmetic operates electronic system, using a kind of programmable memory, inside it storage execute logical operation, sequential control,
Periodically, the instruction of the operations such as counting and arithmetical operation, is controlled various types of by digital or analog input and output
Mechanical equipment or production process.The implementation procedure of programmable logic controller (PLC) can be divided into three phases: input sample, user program
It executes and output refreshes.
Detector of traffic information is applied in traffic detection system or traffic information acquisition system, quiet on lane for detecting
The vehicle of vehicle and movement only can be divided into video detector, coil checker, microwave detector etc. according to performance.Traffic
Information detector is by being measured in real time each lane, to obtain corresponding vehicle detection data.
In a kind of technical solution provided in an embodiment of the present invention, according to the first quantity of the vehicle waited on major trunk roads, really
The corresponding duration of fixed preset major trunk roads vehicle threshold range is as the first long green light time, and by vehicle unsanctioned on major trunk roads
Destination number be compared with destination number threshold value, determine the second long green light time on non-major trunk roads: when destination number is greater than
The second long green light time is preset duration when destination number threshold value;When destination number is not more than destination number threshold value, according to non-
Second quantity of the vehicle waited on major trunk roads determines when preset non-master trunk road vehicle threshold range is corresponding that a length of second is green
Lamp duration.The technical solution provided through the embodiment of the present invention, the long green light time on major trunk roads is according to the vehicle waited on major trunk roads
Quantity determined that the long green light time on non-major trunk roads is according in the quantity of vehicle unsanctioned on major trunk roads and non-major trunk roads
Two factors of vehicle of waiting determine jointly, in this way, reasonably distributing traffic money under the premise of guaranteeing major trunk roads priority pass
Source.
Optionally, in a kind of embodiment, the first quantitative range group is main by the first major trunk roads vehicle threshold value and second
Trunk road vehicle threshold value is divided into three continuous major trunk roads vehicle threshold ranges, wherein the first major trunk roads vehicle threshold range is not
Greater than the first major trunk roads vehicle threshold value;Third major trunk roads vehicle threshold range is not less than the second major trunk roads vehicle threshold value;Second is main
Trunk road vehicle threshold range is between the first major trunk roads vehicle threshold value and the second major trunk roads vehicle threshold value;
The programmable logic controller (PLC) 520, for obtaining the major trunk roads in first detector of traffic information 510
After first quantity of the vehicle of upper waiting, it is specifically used for:
Determine the corresponding first major trunk roads vehicle threshold range of first quantity, the second major trunk roads vehicle threshold range still
Third major trunk roads vehicle threshold range;
When first quantity corresponds to the first major trunk roads vehicle threshold range or the third major trunk roads vehicle threshold value
When range, by the first major trunk roads vehicle threshold range or the corresponding default fixation of the third major trunk roads vehicle threshold range
Duration is as first long green light time;Wherein, the corresponding default fixed duration of the first major trunk roads vehicle threshold range is small
In the corresponding default fixed duration of the third major trunk roads vehicle threshold range;
When first quantity corresponds to the third major trunk roads vehicle threshold range, calculated according to preset first algorithm
First long green light time.
Optionally, in a kind of embodiment, the second quantitative range group is by the first non-master trunk road vehicle threshold value and second
Non-master trunk road vehicle threshold value is divided into three continuous non-master trunk road vehicle threshold ranges, wherein the first non-master trunk road vehicle threshold
It is worth range and is not more than the first non-master trunk road vehicle threshold value;The non-master trunk road vehicle threshold range of third is not less than the second non-major trunk roads vehicle
Threshold value;Second non-master trunk road vehicle threshold range the first non-master trunk road vehicle threshold value and the second non-master trunk road vehicle threshold value it
Between;
The programmable logic controller (PLC) 520, for obtaining the major trunk roads in first detector of traffic information 510
The destination number of the vehicle of upper waiting, and judge that the destination number no more than after the destination number threshold value, is specifically used for:
Determine second quantity corresponding first non-master trunk road vehicle threshold range, the second non-master trunk road vehicle threshold range
Or the non-master trunk road vehicle threshold range of third;
When second quantity corresponds to the described first non-master trunk road vehicle threshold range or the non-master trunk road vehicle of the third
It is when threshold range, the described first non-master trunk road vehicle threshold range or the non-master trunk road vehicle threshold range of the third is corresponding
Default fixed duration is as second long green light time;Wherein, the described first non-master trunk road vehicle threshold range is corresponding default
Fixed duration is less than the corresponding default fixed duration of the non-master trunk road vehicle threshold range of the third;
When second quantity corresponds to the described second non-master trunk road vehicle threshold range, according to preset second algorithm meter
Calculate second long green light time.
Optionally, in a kind of embodiment, the programmable logic controller (PLC) 520 is specifically used for:
By the numerical value of first quantity divided by 10, the first numerical value is obtained;
Judge whether first numerical value has decimal place, when first numerical value has decimal place, removes decimal place and incite somebody to action
Integer-bit adds 1, obtains second value;When first numerical value does not have decimal place, the second value is equal to first number
Value;
By the second value multiplied by 10, the corresponding numerical value of first long green light time is obtained.
Optionally, in a kind of embodiment, the programmable logic controller (PLC) 520 is specifically used for:
By the numerical value of second quantity divided by 10, third value is obtained;
Judge whether the third value has decimal place, when the third value has decimal place, removes decimal place and incite somebody to action
Integer-bit adds 1, obtains the 4th numerical value;When the third value does not have decimal place, the 4th numerical value is equal to the third number
Value;
By the 4th numerical value multiplied by 10, the corresponding numerical value of second long green light time is obtained.
In a kind of technical solution provided in an embodiment of the present invention, according to the first quantity of the vehicle waited on major trunk roads, really
The corresponding duration of fixed preset major trunk roads vehicle threshold range is as the first long green light time, and by vehicle unsanctioned on major trunk roads
Destination number be compared with destination number threshold value, determine the second long green light time on non-major trunk roads: when destination number is greater than
The second long green light time is preset duration when destination number threshold value;When destination number is not more than destination number threshold value, according to non-
Second quantity of the vehicle waited on major trunk roads determines when preset non-master trunk road vehicle threshold range is corresponding that a length of second is green
Lamp duration.The technical solution provided through the embodiment of the present invention, the long green light time on major trunk roads is according to the vehicle waited on major trunk roads
Quantity determined that the long green light time on non-major trunk roads is according in the quantity of vehicle unsanctioned on major trunk roads and non-major trunk roads
Two factors of vehicle of waiting determine jointly, in this way, reasonably distributing traffic money under the premise of guaranteeing major trunk roads priority pass
Source.
For system embodiments, since it is substantially similar to the method embodiment, so describing fairly simple, correlation
Place illustrates referring to the part of embodiment of the method.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (8)
1. a kind of traffic lamp control method, applied to the traffic lights of crossroad, the crossroad is divided into major trunk roads and non-master
Arterial highway, the traffic lights include control major trunk roads vehicle pass-through the first traffic lights and the non-master trunk road vehicle of control it is current second
Traffic lights;It is characterized in that, which comprises
The first predetermined time before the first traffic lights becomes green light by red light, obtains the vehicle waited on the major trunk roads
First quantity;
Determine preset major trunk roads vehicle threshold range in the first quantitative range group corresponding to first quantity, it will be described pre-
If the corresponding duration of major trunk roads vehicle threshold range as the first long green light time;
The second predetermined time before the green light becomes next red light, obtains the mesh of the vehicle waited on the major trunk roads
Quantity is marked, and judges whether the destination number is greater than preset destination number threshold value;
If the destination number is greater than the destination number threshold value, corresponding second traffic lights of next red light is determined
Second long green light time is preset duration;
If the destination number is not more than the destination number threshold value, the second quantitative range group corresponding to the second quantity is determined
In preset non-master trunk road vehicle threshold range, using the corresponding duration of the preset non-master trunk road vehicle threshold range as institute
State the second long green light time, wherein second quantity is that the third before second traffic lights is become green light by red light is preset
Moment, on the non-major trunk roads it is equal to vehicle quantity, wherein the preset non-master trunk road vehicle threshold range is corresponding
The maximum value of duration is not more than the minimum value of the corresponding duration of the preset major trunk roads vehicle threshold range;
Wherein, the first quantitative range group is divided into three by the first major trunk roads vehicle threshold value and the second major trunk roads vehicle threshold value
Continuous major trunk roads vehicle threshold range, wherein the first major trunk roads vehicle threshold range is not more than the first major trunk roads vehicle threshold value;
Third major trunk roads vehicle threshold range is not less than the second major trunk roads vehicle threshold value;Second major trunk roads vehicle threshold range is main first
Between trunk road vehicle threshold value and the second major trunk roads vehicle threshold value;
Preset major trunk roads vehicle threshold range in first quantitative range group corresponding to determination first quantity, by institute
State the step of corresponding duration of preset major trunk roads vehicle threshold range is as the first long green light time, comprising:
Determine the corresponding first major trunk roads vehicle threshold range of first quantity, the second major trunk roads vehicle threshold range or third
Major trunk roads vehicle threshold range;
When first quantity corresponds to the first major trunk roads vehicle threshold range or the third major trunk roads vehicle threshold range
When, by the first major trunk roads vehicle threshold range or the corresponding default fixed duration of the third major trunk roads vehicle threshold range
As first long green light time;Wherein, the corresponding default fixed duration of the first major trunk roads vehicle threshold range is less than institute
State the corresponding default fixed duration of third major trunk roads vehicle threshold range;
When first quantity corresponds to the second major trunk roads vehicle threshold range, according to the calculating of preset first algorithm
First long green light time.
2. the method according to claim 1, wherein the second quantitative range group is by the first non-master trunk road vehicle
Threshold value and the second non-master trunk road vehicle threshold value are divided into three continuous non-master trunk road vehicle threshold ranges, wherein first is non-master
Trunk road vehicle threshold range is not more than the first non-master trunk road vehicle threshold value;The non-master trunk road vehicle threshold range of third is not less than second
Non-master trunk road vehicle threshold value;Second non-master trunk road vehicle threshold range is in the first non-master trunk road vehicle threshold value and the second non-major trunk roads
Between vehicle threshold value;
Preset non-master trunk road vehicle threshold range in second quantitative range group corresponding to determination second quantity, will
The corresponding duration of the preset non-master trunk road vehicle threshold range is as corresponding second traffic lights of the next red light
The step of second long green light time, comprising:
Determine the corresponding first non-master trunk road vehicle threshold range of second quantity, the second non-master trunk road vehicle threshold range still
The non-master trunk road vehicle threshold range of third;
When second quantity corresponds to the described first non-master trunk road vehicle threshold range or the non-master trunk road vehicle threshold value of the third
It is when range, the described first non-master trunk road vehicle threshold range or the non-master trunk road vehicle threshold range of the third is corresponding default
Fixed duration is as second long green light time;Wherein, the corresponding default fixation of the described first non-master trunk road vehicle threshold range
Duration is less than the corresponding default fixed duration of the non-master trunk road vehicle threshold range of the third;
When second quantity corresponds to the described second non-master trunk road vehicle threshold range, institute is calculated according to preset second algorithm
State the second long green light time.
3. the method according to claim 1, wherein described green according to preset first algorithm calculating described first
The step of lamp duration, comprising:
By the numerical value of first quantity divided by 10, the first numerical value is obtained;
Judge whether first numerical value has decimal place, when first numerical value has decimal place, removes decimal place and by integer
Position plus 1, obtains second value;When first numerical value does not have decimal place, the second value is equal to first numerical value;
By the second value multiplied by 10, the corresponding numerical value of first long green light time is obtained.
4. according to the method described in claim 2, it is characterized in that, described green according to preset second algorithm calculating described second
The step of lamp duration, comprising:
By the numerical value of second quantity divided by 10, third value is obtained;
Judge whether the third value has decimal place, when the third value has decimal place, removes decimal place and by integer
Position plus 1, obtains the 4th numerical value;When the third value does not have decimal place, the 4th numerical value is equal to the third value;
By the 4th numerical value multiplied by 10, the corresponding numerical value of second long green light time is obtained.
5. a kind of traffic light control system, applied to the traffic lights of crossroad, the crossroad is divided into major trunk roads and non-master
Arterial highway, the traffic lights include control major trunk roads vehicle pass-through the first traffic lights and the non-master trunk road vehicle of control it is current second
Traffic lights;It is characterized in that, the traffic light control system include: the first detector of traffic information, programmable logic controller (PLC),
Second detector of traffic information;
First detector of traffic information, for the first predetermined time before the first traffic lights becomes green light by red light,
Obtain the first quantity of the vehicle waited on the major trunk roads;
The programmable logic controller (PLC), for obtaining the vehicle waited on the major trunk roads in first detector of traffic information
The first quantity after, determine preset major trunk roads vehicle threshold value in the first quantitative range group corresponding to first quantity
Range, using the corresponding duration of the preset major trunk roads vehicle threshold range as the first long green light time;
First detector of traffic information is obtained for the second predetermined time before the green light becomes next red light
The destination number of the vehicle waited on the major trunk roads is taken, and judges whether the destination number is greater than preset destination number threshold
Value;
The programmable logic controller (PLC), for obtaining the vehicle waited on the major trunk roads in first detector of traffic information
Destination number, and judge the destination number be greater than the destination number threshold value after, determine next red light pair
Second long green light time of the second traffic lights answered is preset duration;Alternatively, obtaining institute in first detector of traffic information
The destination number of the vehicle waited on major trunk roads is stated, and judges that the destination number is not more than after the destination number threshold value,
Determine preset non-master trunk road vehicle threshold range in the second quantitative range group corresponding to the second quantity, it will be described preset non-
The corresponding duration of major trunk roads vehicle threshold range is as second long green light time, wherein second quantity is described second
Traffic lights is become the third predetermined time before green light by red light, described non-master acquired in second detector of traffic information
The quantity of the vehicle waited on arterial highway, wherein the maximum value of the corresponding duration of the preset non-master trunk road vehicle threshold range
The minimum value of duration corresponding no more than the preset major trunk roads vehicle threshold range;
Wherein, the first quantitative range group is divided into three by the first major trunk roads vehicle threshold value and the second major trunk roads vehicle threshold value
Continuous major trunk roads vehicle threshold range, wherein the first major trunk roads vehicle threshold range is not more than the first major trunk roads vehicle threshold value;
Third major trunk roads vehicle threshold range is not less than the second major trunk roads vehicle threshold value;Second major trunk roads vehicle threshold range is main first
Between trunk road vehicle threshold value and the second major trunk roads vehicle threshold value;
The programmable logic controller (PLC), for obtaining the vehicle waited on the major trunk roads in first detector of traffic information
The first quantity after, be specifically used for:
Determine the corresponding first major trunk roads vehicle threshold range of first quantity, the second major trunk roads vehicle threshold range or third
Major trunk roads vehicle threshold range;
When first quantity corresponds to the first major trunk roads vehicle threshold range or the third major trunk roads vehicle threshold range
When, by the first major trunk roads vehicle threshold range or the corresponding default fixed duration of the third major trunk roads vehicle threshold range
As first long green light time;Wherein, the corresponding default fixed duration of the first major trunk roads vehicle threshold range is less than institute
State the corresponding default fixed duration of third major trunk roads vehicle threshold range;
When first quantity corresponds to the third major trunk roads vehicle threshold range, according to the calculating of preset first algorithm
First long green light time.
6. system according to claim 5, which is characterized in that the second quantitative range group is by the first non-master trunk road vehicle
Threshold value and the second non-master trunk road vehicle threshold value are divided into three continuous non-master trunk road vehicle threshold ranges, wherein first is non-master
Trunk road vehicle threshold range is not more than the first non-master trunk road vehicle threshold value;The non-master trunk road vehicle threshold range of third is not less than second
Non-master trunk road vehicle threshold value;Second non-master trunk road vehicle threshold range is in the first non-master trunk road vehicle threshold value and the second non-major trunk roads
Between vehicle threshold value;
The programmable logic controller (PLC), for obtaining the vehicle waited on the major trunk roads in first detector of traffic information
Destination number, and judge that the destination number no more than after the destination number threshold value, is specifically used for:
Determine the corresponding first non-master trunk road vehicle threshold range of second quantity, the second non-master trunk road vehicle threshold range still
The non-master trunk road vehicle threshold range of third;
When second quantity corresponds to the described first non-master trunk road vehicle threshold range or the non-master trunk road vehicle threshold value of the third
It is when range, the described first non-master trunk road vehicle threshold range or the non-master trunk road vehicle threshold range of the third is corresponding default
Fixed duration is as second long green light time;Wherein, the corresponding default fixation of the described first non-master trunk road vehicle threshold range
Duration is less than the corresponding default fixed duration of the non-master trunk road vehicle threshold range of the third;
When second quantity corresponds to the described second non-master trunk road vehicle threshold range, institute is calculated according to preset second algorithm
State the second long green light time.
7. system according to claim 5, which is characterized in that the programmable logic controller (PLC) is specifically used for:
By the numerical value of first quantity divided by 10, the first numerical value is obtained;
Judge whether first numerical value has decimal place, when first numerical value has decimal place, removes decimal place and by integer
Position plus 1, obtains second value;When first numerical value does not have decimal place, the second value is equal to first numerical value;
By the second value multiplied by 10, the corresponding numerical value of first long green light time is obtained.
8. system according to claim 6, which is characterized in that the programmable logic controller (PLC) is specifically used for:
By the numerical value of second quantity divided by 10, third value is obtained;
Judge whether the third value has decimal place, when the third value has decimal place, removes decimal place and by integer
Position plus 1, obtains the 4th numerical value;When the third value does not have decimal place, the 4th numerical value is equal to the third value;
By the 4th numerical value multiplied by 10, the corresponding numerical value of second long green light time is obtained.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710459271.7A CN107016862B (en) | 2017-06-16 | 2017-06-16 | A kind of traffic lamp control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710459271.7A CN107016862B (en) | 2017-06-16 | 2017-06-16 | A kind of traffic lamp control method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107016862A CN107016862A (en) | 2017-08-04 |
CN107016862B true CN107016862B (en) | 2019-06-07 |
Family
ID=59452739
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710459271.7A Expired - Fee Related CN107016862B (en) | 2017-06-16 | 2017-06-16 | A kind of traffic lamp control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107016862B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109166326A (en) * | 2018-10-22 | 2019-01-08 | 交通运输部公路科学研究所 | City intersection new control system and method without traffic lights |
CN109377756A (en) * | 2018-10-31 | 2019-02-22 | 武汉三力通信有限责任公司 | A kind of real-time monitoring and distribution platform of traffic |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5880682A (en) * | 1997-12-18 | 1999-03-09 | Midian Electronics, Inc. | Traffic control system and method of operation |
CN1845201A (en) * | 2005-04-08 | 2006-10-11 | 王大海 | Circulating induction control system of polyphase crossing |
CN201716860U (en) * | 2010-05-13 | 2011-01-19 | 付少华 | Traffic signal light control system |
CN103208192A (en) * | 2013-03-26 | 2013-07-17 | 张闻 | Traffic light system for improving passing efficiency of vehicles on primary and secondary trunk roads |
CN104485004A (en) * | 2014-12-24 | 2015-04-01 | 江苏物联网研究发展中心 | Signal control method combining main trunk road bidirectional dynamic green wave and secondary trunk road semi-induction |
-
2017
- 2017-06-16 CN CN201710459271.7A patent/CN107016862B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5880682A (en) * | 1997-12-18 | 1999-03-09 | Midian Electronics, Inc. | Traffic control system and method of operation |
CN1845201A (en) * | 2005-04-08 | 2006-10-11 | 王大海 | Circulating induction control system of polyphase crossing |
CN201716860U (en) * | 2010-05-13 | 2011-01-19 | 付少华 | Traffic signal light control system |
CN103208192A (en) * | 2013-03-26 | 2013-07-17 | 张闻 | Traffic light system for improving passing efficiency of vehicles on primary and secondary trunk roads |
CN104485004A (en) * | 2014-12-24 | 2015-04-01 | 江苏物联网研究发展中心 | Signal control method combining main trunk road bidirectional dynamic green wave and secondary trunk road semi-induction |
Also Published As
Publication number | Publication date |
---|---|
CN107016862A (en) | 2017-08-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106097730B (en) | A kind of method of estimation of section vehicle queue length, apparatus and system | |
CN110100271B (en) | Method and apparatus for estimating road traffic conditions using traffic signal data | |
CN101894477B (en) | Self-locking control method for controlling road network traffic through urban signal lamps | |
CN104464320B (en) | Based on true road network characteristic and the shortest path abductive approach of dynamic travel time | |
CN105513339B (en) | A kind of track of vehicle analysis method and equipment | |
CN107331167B (en) | A kind of traffic lights feedback adjustment methods and device | |
CN101493991B (en) | Method and device for obtaining traffic status based on sensor network | |
CN108335496B (en) | City-level traffic signal optimization method and system | |
CN102722986B (en) | Urban road network traffic control subarea dynamic partitioning method | |
CN107016862B (en) | A kind of traffic lamp control method and system | |
CN107850454A (en) | For detect can navigation elements closing and/or open method and system | |
CN109509369B (en) | Intelligent parking space monitoring method and system and urban comprehensive intelligent traffic system | |
CN105336183A (en) | Traffic congestion control method and device based on road section passing capacity | |
CN106683451B (en) | A kind of method and device of tramcar priority acccess control | |
CN106846835A (en) | Self-adaptive coordination control method for urban area traffic signals | |
CN106600958B (en) | Dynamic road condition expression and device | |
CN102682616B (en) | Wireless Data Broadcasting System traffic information distribution method and equipment | |
CN101009047A (en) | Intelligent traffic crossing control method | |
CN105551239A (en) | Travelling time prediction method and device | |
CN108280999B (en) | Traffic saturation determination system, method and device | |
CN108573607A (en) | A kind of traffic light control system and method | |
CN103268707A (en) | Signal regulating method for pedestrian crossing road section of bus prior passage | |
CN109754619A (en) | Single-point traffic signal control method, device, traffic signaling equipment and storage medium | |
Qi et al. | Real-time traffic camera-light control systems for intersections subject to accidents: A petri net approach | |
CN110188921A (en) | Vehicle scheduling strategy determines method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190607 Termination date: 20210616 |