CN107016862A - A kind of traffic lamp control method and system - Google Patents

A kind of traffic lamp control method and system Download PDF

Info

Publication number
CN107016862A
CN107016862A CN201710459271.7A CN201710459271A CN107016862A CN 107016862 A CN107016862 A CN 107016862A CN 201710459271 A CN201710459271 A CN 201710459271A CN 107016862 A CN107016862 A CN 107016862A
Authority
CN
China
Prior art keywords
trunk roads
major trunk
vehicle threshold
threshold range
roads vehicle
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.)
Granted
Application number
CN201710459271.7A
Other languages
Chinese (zh)
Other versions
CN107016862B (en
Inventor
林子羿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201710459271.7A priority Critical patent/CN107016862B/en
Publication of CN107016862A publication Critical patent/CN107016862A/en
Application granted granted Critical
Publication of CN107016862B publication Critical patent/CN107016862B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/07Controlling traffic signals
    • G08G1/08Controlling traffic signals according to detected number or speed of vehicles

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The embodiments of the invention provide a kind of traffic lamp control method and system, including:According to the first quantity of the vehicle waited on major trunk roads, determine the corresponding duration of default major trunk roads vehicle threshold range as the first long green light time, and be compared the destination number of unsanctioned vehicle on major trunk roads and destination number threshold value, determine the second long green light time on non-major trunk roads:When destination number is more than destination number threshold value, the second long green light time is default duration;When destination number is not more than destination number threshold value, according to the second quantity of the first-class vehicle treated of non-major trunk roads, a length of second long green light time when default non-major trunk roads vehicle threshold range is corresponding is determined.By technical scheme provided in an embodiment of the present invention, on the premise of major trunk roads priority pass is ensured, traffic resource is reasonably distributed.

Description

A kind of traffic lamp control method and system
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 technology
Since there are the vehicles, traffic control is also arisen at the historic moment, especially modern age, in order to ensure the friendship of highly effective and safe Logical order, generates a series of traffic rules, traffic lights is one of which.Traditional traffic lights is using " fixed pairing " Mode is controlled, i.e., red light and green light show the time of the fixation duration of setting respectively.But with city vehicle recoverable amount 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, congestion can be caused more serious on the contrary.
In order to solve the problem of conventional traffic lamp control system can not adapt to the uncertainty of vehicle flowrate, at present, traffic lights Control method mainly using half sensing control algolithm.Crossing is divided into major trunk roads and non-major trunk roads in half sensing control algolithm, Vehicle flowrate on major trunk roads is far longer than the vehicle flowrate on non-major trunk roads, should the purpose of sensing control algolithm be partly to ensure major trunk roads Traffic keep it is smooth, when the wait vehicle only on non-major trunk roads reaches the waiting number of setting, the traffic on major trunk roads The traffic lights that lamp is changed on red light, non-major trunk roads is changed into green light, otherwise, and the traffic lights on major trunk roads is green light always.
In general, the traffic lamp control method of half sensing control algolithm can alleviate major trunk roads to a certain extent On traffic pressure.However, at dead of night etc. particular time when, there is no have vehicle on vehicle pass-through, rather than major trunk roads on major trunk roads During the waiting number for waiting but not up to setting, at this moment the vehicle on non-major trunk roads is accomplished by waiting always.So, it result in The waste of traffic resource and serious unreasonable distribution.
The content of the invention
The purpose of the embodiment of the present invention is to provide a kind of traffic lamp control method and system, to realize the conjunction of traffic resource Reason distribution.Concrete technical scheme is as follows:
In a first aspect, the embodiments of the invention provide 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 of control major trunk roads vehicle pass-through And the second traffic lights of the non-major trunk roads vehicle pass-through of control;Methods described includes:
The first predetermined time before the first traffic lights becomes green light by red light, obtains the car waited on the major trunk roads The first quantity;
Default major trunk roads vehicle threshold range in the first quantitative range group corresponding to first quantity is determined, by institute The corresponding duration of default 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 the destination number whether be more than default destination number threshold value;
If the destination number is more than the destination number threshold value, corresponding second traffic of next red light is determined Second long green light time of lamp is default 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 Default non-major trunk roads vehicle threshold range in group is enclosed, the corresponding duration of the default non-major trunk roads vehicle threshold range is made For second long green light time, wherein, second quantity is the 3rd before second traffic lights becomes green light by red light Predetermined time, the quantity of the first-class vehicle treated of non-major trunk roads, wherein, the default non-major trunk roads vehicle threshold range pair The maximum for the duration answered is not more than the minimum value of the corresponding duration of the default major trunk roads vehicle threshold range.
Alternatively, 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 Into 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 car Threshold value;3rd 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;
Default major trunk roads vehicle threshold range in the first quantitative range group determined corresponding to first quantity, The step of using the corresponding duration of the default major trunk roads vehicle threshold range as the first long green light time, including:
Determine the first major trunk roads vehicle threshold range of the first quantity correspondence, the second major trunk roads vehicle threshold range still 3rd major trunk roads vehicle threshold range;
When first quantity correspondence the first major trunk roads vehicle threshold range or the 3rd major trunk roads vehicle threshold value During scope, by the first major trunk roads vehicle threshold range or the corresponding default fixation of the 3rd major trunk roads vehicle threshold range Duration is used 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 3rd major trunk roads vehicle threshold range;
When first quantity correspondence the second major trunk roads vehicle threshold range, calculated according to default first algorithm First long green light time.
Alternatively, the second quantitative range group is by the first non-major trunk roads vehicle threshold value and the second non-major trunk roads vehicle threshold value Three continuous non-major trunk roads vehicle threshold ranges are divided into, wherein, the first non-major trunk roads vehicle threshold range is not more than first Non- major trunk roads vehicle threshold value;3rd non-major trunk roads vehicle threshold range is not less than the second non-major trunk roads vehicle threshold value;Second non-master Arterial highway vehicle threshold range is between the first non-major trunk roads vehicle threshold value and the second non-major trunk roads vehicle threshold value;
Default non-major trunk roads vehicle threshold value model in the second quantitative range group determined corresponding to second quantity Enclose, regard the corresponding duration of the default non-major trunk roads vehicle threshold range as corresponding second traffic of the next red light The step of second long green light time of lamp, including:
Determine the first non-major trunk roads vehicle threshold range of the second quantity correspondence, the second non-major trunk roads vehicle threshold range Or the 3rd non-major trunk roads vehicle threshold range;
When the second quantity correspondence first non-major trunk roads vehicle threshold range or the 3rd non-major trunk roads vehicle It is during threshold range, the described first non-major trunk roads vehicle threshold range or the 3rd non-major trunk roads vehicle threshold range is corresponding Default fixed duration is used as second long green light time;Wherein, the described first non-major trunk roads vehicle threshold range is corresponding default Fixed duration is less than the corresponding default fixed duration of the described 3rd non-major trunk roads vehicle threshold range;
When the second quantity correspondence second non-major trunk roads vehicle threshold range, according to default second algorithm meter Calculate second long green light time.
Alternatively, the step of calculating first long green light time according to default first algorithm, including:
By the numerical value divided by 10 of first quantity, the first numerical value is obtained;
Judge whether first numerical value has decimal place, when first numerical value has decimal place, remove 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 the described first number Value;
The second value is multiplied by 10, the corresponding numerical value of first long green light time is obtained.
Alternatively, the step of calculating second long green light time according to default second algorithm, including:
By the numerical value divided by 10 of second quantity, third value is obtained;
Judge whether the third value has decimal place, when the third value has decimal place, remove 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 described 3rd number Value;
4th numerical value is multiplied by 10, the corresponding numerical value of second long green light time is obtained.
Second aspect, the embodiments of the invention provide 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 of control major trunk roads vehicle pass-through And the second traffic lights of the non-major trunk roads vehicle pass-through of control;The traffic light control system includes:First detector of traffic information, Programmable logic controller (PLC), the second detector of traffic information;
First detector of traffic information, when being preset for first before the first traffic lights becomes green light by red light Carve, obtain the first quantity of the vehicle waited on the major trunk roads;
The programmable logic controller (PLC), is waited for being obtained in first detector of traffic information on the major trunk roads Vehicle the first quantity after, determine default major trunk roads vehicle in the first quantitative range group corresponding to first quantity Threshold range, regard the corresponding duration of the default major trunk roads vehicle threshold range as the first long green light time;
First detector of traffic information, when being preset for second before the green light becomes next red light Carve, obtain the destination number of the vehicle waited on the major trunk roads, and judge whether the destination number is more than default target Amount threshold;
The programmable logic controller (PLC), is waited for being obtained in first detector of traffic information on the major trunk roads Vehicle destination number, and judge the destination number be more than the destination number threshold value after, determine described next red Second long green light time of corresponding second traffic lights of lamp is default duration;Or, 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 be not more than the destination number threshold value it Afterwards, default non-major trunk roads vehicle threshold range in the second quantitative range group corresponding to second quantity is determined, will be described The corresponding duration of default non-major trunk roads vehicle threshold range as second long green light time, wherein, second quantity is Second traffic lights green light is become by red light before the 3rd predetermined time, acquired in second detector of traffic information The quantity of the first-class vehicle treated of non-major trunk roads, wherein, the corresponding duration of the default non-major trunk roads vehicle threshold range Maximum be not more than the minimum value of the corresponding duration of the default major trunk roads vehicle threshold range.
Alternatively, 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 Into 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 car Threshold value;3rd 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), is waited for being obtained in first detector of traffic information on the major trunk roads Vehicle the first quantity after, specifically for:
Determine the first major trunk roads vehicle threshold range of the first quantity correspondence, the second major trunk roads vehicle threshold range still 3rd major trunk roads vehicle threshold range;
When first quantity correspondence the first major trunk roads vehicle threshold range or the 3rd major trunk roads vehicle threshold value During scope, by the first major trunk roads vehicle threshold range or the corresponding default fixation of the 3rd major trunk roads vehicle threshold range Duration is used 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 3rd major trunk roads vehicle threshold range;
When first quantity correspondence the 3rd major trunk roads vehicle threshold range, calculated according to default first algorithm First long green light time.
Alternatively, the second quantitative range group is by the first non-major trunk roads vehicle threshold value and the second non-major trunk roads vehicle threshold value Three continuous non-major trunk roads vehicle threshold ranges are divided into, wherein, the first non-major trunk roads vehicle threshold range is not more than first Non- major trunk roads vehicle threshold value;3rd non-major trunk roads vehicle threshold range is not less than the second non-major trunk roads vehicle threshold value;Second non-master Arterial highway vehicle threshold range is between the first non-major trunk roads vehicle threshold value and the second non-major trunk roads vehicle threshold value;
The programmable logic controller (PLC), is waited for being obtained in first detector of traffic information on the major trunk roads Vehicle destination number, and judge that the destination number is not more than after the destination number threshold value, specifically for:
Determine the first non-major trunk roads vehicle threshold range of the second quantity correspondence, the second non-major trunk roads vehicle threshold range Or the 3rd non-major trunk roads vehicle threshold range;
When the second quantity correspondence first non-major trunk roads vehicle threshold range or the 3rd non-major trunk roads vehicle It is during threshold range, the described first non-major trunk roads vehicle threshold range or the 3rd non-major trunk roads vehicle threshold range is corresponding Default fixed duration is used as second long green light time;Wherein, the described first non-major trunk roads vehicle threshold range is corresponding default Fixed duration is less than the corresponding default fixed duration of the described 3rd non-major trunk roads vehicle threshold range;
When the second quantity correspondence second non-major trunk roads vehicle threshold range, according to default second algorithm meter Calculate second long green light time.
Alternatively, the programmable logic controller (PLC), specifically for:
By the numerical value divided by 10 of first quantity, the first numerical value is obtained;
Judge whether first numerical value has decimal place, when first numerical value has decimal place, remove 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 the described first number Value;
The second value is multiplied by 10, the corresponding numerical value of first long green light time is obtained.
Alternatively, the programmable logic controller (PLC), specifically for:
By the numerical value divided by 10 of second quantity, third value is obtained;
Judge whether the third value has decimal place, when the third value has decimal place, remove 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 described 3rd number Value;
4th numerical value is multiplied by 10, the corresponding numerical value of second long green light time is obtained.
In a kind of technical scheme 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 default major trunk roads vehicle threshold range is as the first long green light time, and by unsanctioned vehicle 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 more than The second long green light time is default duration during 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 default non-major trunk roads vehicle threshold range is corresponding that a length of second is green Lamp duration.By technical scheme provided in an embodiment of the present invention, the long green light time on major trunk roads is according to the car waited on major trunk roads Quantity determined that the long green light time on non-major trunk roads is according on the quantity of unsanctioned vehicle on major trunk roads and non-major trunk roads Two factors of vehicle of wait are determined jointly, so, on the premise of major trunk roads priority pass is ensured, reasonably distribute traffic money Source.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying 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;
The particular flow sheet that Fig. 3 is step S202 in embodiment illustrated in fig. 2;
The particular flow sheet that Fig. 4 is step S205 in embodiment illustrated in fig. 2;
Fig. 5 is a kind of a kind of structural representation of traffic light control system provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
In order to realize the reasonable distribution of traffic resource, the embodiments of the invention provide 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 the He of major trunk roads 100 Non- major trunk roads 200, the traffic lights for controlling the vehicle pass-through of major trunk roads 100 is the first traffic lights 110, controls the non-vehicle of major trunk roads 200 The second current traffic lights 210.Generally, the vehicle flowrate on major trunk roads 100 is more 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, the non-moment of major trunk roads 200 coordinates major trunk roads 100 to ensure City road network it is unimpeded.
The embodiment of the present invention is herein with one of them first traffic lights 110 on major trunk roads 100, on non-major trunk roads 200 The traffic lamp control method of the present invention is illustrated exemplified by 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 track of major trunk roads 100 is all current by road surface identification, i.e., road surface identification is Vehicle straight trip on the track of straight trip, road surface identification is that the vehicle on left turn lane turns left to pass through;In the first traffic lights 110 by green Lamp is changed into after red light, and the second traffic lights 210 on non-major trunk roads 200 is changed into green light from red light, now, each car 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 it is current.
It is understood that the application of the embodiment of the present invention is not limited only to above-mentioned situation, T-shaped road junction can also be applied to Traffic grade.
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, comprises the following steps:
S201, the first predetermined time before the first traffic lights becomes green light by red light obtains the major trunk roads first-class First quantity of the vehicle treated.
First predetermined time is the time point before the first traffic lights becomes green light by red light, also, this first it is default when Quarter can be self-defined setting, at the time of the first predetermined time and the first traffic lights become green light by red light between the time it is longer, The first so 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 setting to become green light by red light from the first traffic lights.For example, first Predetermined time can be arranged at the time of the first traffic lights becomes green light by red light before 1 second or 2 seconds.
The method for obtaining the first quantity of the vehicle waited can be obtained by detector of traffic information, wherein, traffic Information detector can detect the vehicle of static vehicle and motion, and being further divided into video detector, coil according to performance examines Survey device, microwave detector etc..Detector of traffic information obtains corresponding detection data by being detected to each track.
Illustratively, video detector is monitored by camera to track, wherein, a camera can cover 3 cars Road, detection range is up to 50-150 meters;When needing larger range of detection, camera can be set in different points, by inciting somebody to action The camera of each point is associated together, and just can further expand detection range.At present, detector of traffic information is static to track The accuracy rate of vehicle detection is up to 95%, and the detector of traffic information of high-accuracy is more beneficial for rationally setting major trunk roads and non-master The long green light time of arterial highway, so as 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 the first quantity mentioned by face is then the numeral 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 default major trunk roads vehicle threshold value model in the first quantitative range group corresponding to first quantity Enclose, regard the corresponding duration of the default 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 Enclose in group, preset multiple major trunk roads vehicle threshold ranges and multiple durations, also, major trunk roads vehicle threshold range and duration in pair It should be related to, alternatively, the different duration of different major trunk roads vehicle threshold range correspondences.
Wherein, duration can have two types:A kind of duration is fixed value;Another duration is by default algorithm meter Value obtained by calculating, in this case, resulting duration can be different.
Illustratively, one of threshold range in multiple major trunk roads vehicle threshold ranges is that vehicle number is less than 60, should Corresponding to threshold range when a length of 60 seconds, then, when the first quantity is 50, vehicle number is less than 60, and the threshold value model A length of 60 seconds when enclosing corresponding, now, the first long green light time is 60 seconds.
Illustratively, one of threshold range in multiple major trunk roads vehicle threshold ranges is:Vehicle number be more than 60 and Less than 120;Corresponding to the threshold range when a length of preset algorithm obtained by value, the preset algorithm is specially:First number The numerical value of amount is equal with the numerical value of the 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 more than 60 and less than 120, according to preset algorithm A length of 70 seconds when can obtain corresponding, therefore, the first long green light time is 70 seconds;When the first quantity is 110, according to default A length of 110 seconds when algorithm can obtain corresponding, now, the first long green light time is 110 seconds.
It should be noted that in embodiment provided by the present invention, correspondence refers in corresponding threshold range, example Such as, default 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 is obtained and waited on the major trunk roads Vehicle destination number, and judge the destination number whether be more than default destination number threshold value;When being judged as YES, perform S204, when being judged as NO, performs S205.
The detailed process for becoming next red light in the green light can become amber light, amber light for green light and become red light again Process.Second predetermined time is the time point before the first traffic lights becomes red light by green light, also, second predetermined time can To be self-defined setting, at the time of the second predetermined time and the first traffic lights become red light by green light between the time it is longer, 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 is closer at the time of should setting to become red light by green light from the first traffic lights.For example, second is default Moment can be arranged at the time of the first traffic lights becomes red light by green light before 1 second or 2 seconds.
Alternatively, 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 becomes green light with the first traffic lights by red light is identical.Illustratively, second Predetermined time is set at the time of 1 second before at the time of the first traffic lights becomes red light by green light, and the first predetermined time is set 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 is obtained is also unsanctioned on major trunk roads The quantity of vehicle is, it is necessary to wait next green light ability P Passable.
It is unobstructed, it is necessary to not passing through on major trunk roads on major trunk roads in order to ensure because the principle of major trunk roads priority pass Vehicle be monitored;If unsanctioned vehicle is relatively more on major trunk roads, the comparison that the long green light times of non-major trunk roads can be set It is short, and if when unsanctioned vehicle is fewer on major trunk roads, it is longer that the long green light time on non-major trunk roads can be set.
The destination number of acquisition is compared with default destination number threshold value, judges whether destination number is more than default Destination number threshold value, wherein, destination number threshold value can be self-defined setting, specifically, can rule of thumb or system Count and draw suitable threshold value, for example, destination number threshold value can be set to be 60.
S204, if the destination number is more than the destination number threshold value, determines next red light corresponding the Second long green light time of two traffic lights is default duration.
Destination number be more than destination number threshold value in the case of, now, on major trunk roads unsanctioned vehicle it is more, it is necessary to 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 default duration.Wherein, this Two long green light times are corresponding with the duration of next red light on major trunk roads, a length of when this is default self-defined to preset Fixation duration value, for example, a length of 30 seconds when can set default.
S205, if the destination number is not more than the destination number threshold value, is determined corresponding to second quantity Default non-major trunk roads vehicle threshold range in second quantitative range group, by the default non-major trunk roads vehicle threshold range pair The duration answered is used as second long green light time.
Default non-major trunk roads vehicle threshold range, refers to the second number in the second quantitative range group corresponding to second quantity Amount is in default non-major trunk roads vehicle threshold range.Wherein, the second quantity be the second traffic lights by red light become green light it The 3rd preceding predetermined time, the quantity of the first-class vehicle treated of non-major trunk roads.
Wherein, the 3rd predetermined time can be self-defined setting, and the 3rd 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 for getting and actual error, the 3rd predetermined time should set by red light to become green light from the second traffic lights At the time of it is closer.For example, the 3rd predetermined time could be arranged at the time of the second traffic lights becomes green light by red light before 1 At the time of second or 2 seconds.
Alternatively, time difference between at the time of the 3rd 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, the 3rd predetermined time is set to 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 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 to become 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, now, unsanctioned car on major trunk roads Less, can set the long green light time on non-major trunk roads is longer, and the long green light time on non-major trunk roads can basis The quantity set of the first-class vehicle treated of non-major trunk roads.
Second quantitative range group is set in advance, in the second quantitative range group, presets multiple non-major trunk roads vehicles Threshold range and multiple durations, also, non-major trunk roads vehicle threshold range and duration are in corresponding relation, i.e., different non-major trunk roads The different duration of vehicle threshold range correspondence.
Wherein, duration can have two types:A kind of duration is fixed value;Another duration is by default algorithm meter Value obtained by calculating, in this case, resulting duration can be different.
Illustratively, one of threshold range in multiple non-major trunk roads vehicle threshold ranges is that vehicle number is less than 30, Corresponding to the threshold range when a length of 30 seconds, then, when the second quantity is 20, vehicle number is less than 30, and the threshold value Corresponding to scope when a length of 30 seconds, now, the second long green light time be 30 seconds.
Illustratively, one of threshold range in multiple non-major trunk roads vehicle threshold ranges is:Vehicle number is more than 30 And less than 60;Corresponding to the threshold range when a length of preset algorithm obtained by value, the preset algorithm is specially:Second number The numerical value of amount is equal with the numerical value of the 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 more than 30 and less than 60, can according to preset algorithm A length of 40 seconds when obtaining corresponding, therefore, the first long green light time is 40 seconds;When the second quantity is 55, according to pre- imputation A length of 55 seconds when method can obtain corresponding, now, 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 necessarily 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 necessarily not less than the duration of green light on non-major trunk roads.Therefore, when default non-major trunk roads vehicle threshold range is corresponding Long maximum is not more than the minimum value of the corresponding duration of the default major trunk roads vehicle threshold range.Illustratively, it is default The maximum of the corresponding duration of non-major trunk roads vehicle threshold range is 60 seconds, the default major trunk roads vehicle threshold range correspondence Duration minimum value be 60 seconds.
In a kind of technical scheme 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 default major trunk roads vehicle threshold range is as the first long green light time, and by unsanctioned vehicle 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 more than The second long green light time is default duration during 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 default non-major trunk roads vehicle threshold range is corresponding that a length of second is green Lamp duration.By technical scheme provided in an embodiment of the present invention, the long green light time on major trunk roads is according to the car waited on major trunk roads Quantity determined that the long green light time on non-major trunk roads is according on the quantity of unsanctioned vehicle on major trunk roads and non-major trunk roads Two factors of vehicle of wait are determined jointly, so, on the premise of major trunk roads priority pass is ensured, reasonably distribute traffic money Source.
With reference to above-described embodiment, the present invention also provides another embodiment, as shown in figure 3, above-mentioned steps S202, also It can include:
S301, determines the first major trunk roads vehicle threshold range of the first quantity correspondence, the second major trunk roads vehicle threshold value model Enclose or the 3rd 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 with self-defined Setting.
Divide three continuous major trunk roads vehicle threshold ranges be respectively:First major trunk roads vehicle threshold range, second Major trunk roads vehicle threshold range and the 3rd 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;3rd 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 be 60, the second major trunk roads vehicle threshold value be 120 when, the first master Arterial highway vehicle threshold range is that, less than or equal to 60, the second major trunk roads vehicle threshold range is more than 60 and less than 120 , the 3rd major trunk roads vehicle threshold range is more than or equal to 120.
Determine the first major trunk roads vehicle threshold range of the first quantity correspondence, the second major trunk roads vehicle threshold range still 3rd major trunk roads vehicle threshold range.Illustratively, when the first quantity is 80, in the scope more 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 correspondence the first major trunk roads vehicle threshold range or the 3rd major trunk roads vehicle It is during threshold range, the first major trunk roads vehicle threshold range or the 3rd major trunk roads vehicle threshold range is corresponding default Fixed duration is used as first long green light time.
Default each major trunk roads vehicle threshold range and duration are in one-to-one relationship, i.e., first in first quantitative range group Major trunk roads vehicle threshold range correspondence default fixed duration T1, the second major trunk roads vehicle threshold range correspondence duration T2, the 3rd master The default fixed duration T3 of arterial highway vehicle threshold range correspondence, wherein, T1, T2, T3 can be different.
When the first quantity the first major trunk roads vehicle threshold range of correspondence, the first long green light time is the first major trunk roads vehicle threshold It is worth the default fixed duration T1 corresponding to scope;When the first quantity the 3rd major trunk roads vehicle threshold range of correspondence, the first green light Default fixed duration T3 corresponding to the major trunk roads vehicle threshold ranges of Shi Changwei the 3rd.
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 is as much as possible current, therefore, and the corresponding default fixed duration of the first major trunk roads vehicle threshold range is less than the 3rd trunk The corresponding default fixed duration of road vehicle threshold range.
Illustratively, the first major trunk roads vehicle threshold range is the 3rd major trunk roads vehicle threshold value model less than or equal to 60 Enclose for more than or equal to 120.If the time that each car passes through crossing is 1 second, then can set the first major trunk roads vehicle Default fixed duration T1 corresponding to threshold range is 60 seconds, during default fixed corresponding to the 3rd major trunk roads vehicle threshold range Long T3 is 120 seconds,.When the first quantity is less than 60, then now the first long green light time is 60 seconds;When the first quantity is more than 120 When, now, the first long green light time be 120 seconds.
S303, when first quantity correspondence the second major trunk roads vehicle threshold range, is calculated according to default first Method calculates first long green light time.
Second major trunk roads vehicle threshold range be 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 default first algorithm First long green light time.
A kind of embodiment that the first long green light time is calculated according to default first algorithm is into a method:By the first quantity Numerical value divided by 10, obtains the first numerical value;Judge whether the first numerical value has decimal place, when the first numerical value has decimal place, remove 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;Will Second value is multiplied by 10, obtains the corresponding numerical value of the first long green light time.
Illustratively, when the first major trunk roads vehicle threshold value be 60, the second major trunk roads vehicle threshold value be 120 when, the second master Arterial highway vehicle threshold range is that, more than 60 and less than 120, when the first quantity is 75, the numerical value of the first quantity is 75, According to above-mentioned embodiment, it is 7.5 that can obtain the first numerical value, and now the first numerical value is the numerical value of mixed decimal position, then can by entering a method It is 8 to obtain second value, so that finally can obtain the corresponding numerical value of the first long green light time is 80, 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 car 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 be 60, the second major trunk roads vehicle threshold value be 120 when, the second master Arterial highway vehicle threshold range is that, more than 60 and less than 120, 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 scheme 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 default major trunk roads vehicle threshold range is as the first long green light time, and by unsanctioned vehicle 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 more than The second long green light time is default duration during 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 default non-major trunk roads vehicle threshold range is corresponding that a length of second is green Lamp duration.By technical scheme provided in an embodiment of the present invention, the long green light time on major trunk roads is according to the car waited on major trunk roads Quantity determined that the long green light time on non-major trunk roads is according on the quantity of unsanctioned vehicle on major trunk roads and non-major trunk roads Two factors of vehicle of wait are determined jointly, so, on the premise of major trunk roads priority pass is ensured, reasonably distribute traffic money Source.
With reference to above-described embodiment, the present invention also provides another embodiment, as shown in figure 4, above-mentioned steps S205, also It can include:
S401, determines the first non-major trunk roads vehicle threshold range of the second quantity correspondence, the second non-major trunk roads vehicle threshold It is worth scope or the 3rd non-major trunk roads vehicle threshold range.
Second quantitative range group is divided into three by the first non-major trunk roads vehicle threshold value and the second non-major trunk roads vehicle threshold value Continuous non-major trunk roads vehicle threshold range, wherein, the first non-major trunk roads vehicle threshold value and the second non-major trunk roads vehicle threshold value are equal Can be with self-defined setting.
Divide three continuous non-major trunk roads vehicle threshold ranges be respectively:First non-major trunk roads vehicle threshold range, Second non-major trunk roads vehicle threshold range and the 3rd non-major trunk roads vehicle threshold range.Wherein, the first non-major trunk roads vehicle threshold value Scope is not more than the first non-major trunk roads vehicle threshold value;3rd non-major trunk roads vehicle threshold range is not less than the second non-major trunk roads vehicle Threshold value;Second non-major trunk roads vehicle threshold range the first non-major trunk roads vehicle threshold value and the second non-major trunk roads vehicle threshold value it Between.
Illustratively, when the first non-major trunk roads vehicle threshold value be 30, the second non-major trunk roads vehicle threshold value be 60 when, first Non- major trunk roads vehicle threshold range is that, less than or equal to 30, the second non-major trunk roads vehicle threshold range is more than 30 and small In 60, the 3rd non-major trunk roads vehicle threshold range is more than or equal to 60.
Determine the first non-major trunk roads vehicle threshold range of the second quantity correspondence, the second non-major trunk roads vehicle threshold range Or the 3rd non-major trunk roads vehicle threshold range.Illustratively, when the second quantity is 40, more than 30 and less than 60 In the range of, accordingly, it is determined that the second quantity is in the second non-major trunk roads vehicle threshold range.
S402, when the second quantity correspondence first non-major trunk roads vehicle threshold range or the 3rd non-major trunk roads During vehicle threshold range, by the described first non-major trunk roads vehicle threshold range or the 3rd non-major trunk roads vehicle threshold range pair The duration answered is used as second long green light time.
Default each non-major trunk roads vehicle threshold range and duration are in one-to-one relationship in second quantitative range group, i.e., and the The one non-default fixed duration t1 of major trunk roads vehicle threshold range correspondence, the second non-major trunk roads vehicle threshold range correspondence duration t2, The 3rd non-default fixed duration t3 of major trunk roads vehicle threshold range correspondence, wherein, t1, t2, t3 can be different.
When the second quantity the first non-major trunk roads vehicle threshold range of correspondence, the second long green light time is the first non-major trunk roads car Default fixed duration t1 corresponding to threshold range;When the second quantity the 3rd non-major trunk roads vehicle threshold range of correspondence, the Two long green light times are the default fixed duration t3 corresponding to the 3rd non-major trunk roads vehicle threshold range.
Further, because the vehicle waited is more, longer long green light time is more needed so that the vehicle clamped on to the greatest extent may be used Current more than energy, therefore, the corresponding default fixed duration of the first non-major trunk roads vehicle threshold range is less than the 3rd non-major trunk roads car The corresponding default fixed duration of threshold range.
Illustratively, the first non-major trunk roads vehicle threshold range is the 3rd non-major trunk roads vehicle threshold less than or equal to 30 It is more than or equal to 60 to be worth scope.If the time that each car passes through crossing is 1 second, then can set the first non-major trunk roads Duration t1 corresponding to vehicle threshold range is 30 seconds, and the duration t3 corresponding to the 3rd non-major trunk roads vehicle threshold range is 60 Second,.When the second quantity is less than 30, then now the second long green light time is 30 seconds;When the second quantity is more than 60, now, Second long green light time is 60 seconds.
S403, when the second quantity correspondence second non-major trunk roads vehicle threshold range, according to default second Algorithm calculates second long green light time.
Second non-major trunk roads vehicle threshold range is the first non-major trunk roads vehicle threshold value and the second non-major trunk roads vehicle threshold value Between, when the second quantity is between the first non-major trunk roads vehicle threshold value and the second non-major trunk roads vehicle threshold value, according to default Second algorithm calculates the second long green light time.
A kind of embodiment that the second long green light time is calculated according to default second algorithm is into a method:By the second quantity Numerical value divided by 10, obtains third value;Judge whether third value has decimal place, when third value has decimal place, remove 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;Will 4th numerical value is multiplied by 10, obtains the corresponding numerical value of the second long green light time.
Illustratively, when the first non-major trunk roads vehicle threshold value be 30, the second non-major trunk roads vehicle threshold value be 60 when, second Non- major trunk roads vehicle threshold range is that, more than 30 and less than 60, when the second quantity is 45, the numerical value of the second quantity is 45, according to above-mentioned embodiment, it is 4.5 that can obtain third value, and now third value is the numerical value of mixed decimal position, then by entering a method It is 5 that the 4th numerical value, which can be obtained, so that finally can obtain the corresponding numerical value of the second long green light time is 50, then the second long green light time is 80 Second.
In another embodiment, each car is set by the time at crossing as 1 second, then treated when non-major trunk roads are first-class Vehicle how many when just to the time in requisition for how many seconds.Therefore, when the second quantity the first non-major trunk roads vehicle threshold value with When between the second non-major trunk roads 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-major trunk roads vehicle threshold value be 30, the second non-major trunk roads vehicle threshold value be 60 when, second Non- major trunk roads vehicle threshold range is that, more than 30 and less than 60, 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 scheme 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 default major trunk roads vehicle threshold range is as the first long green light time, and by unsanctioned vehicle 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 more than The second long green light time is default duration during 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 default non-major trunk roads vehicle threshold range is corresponding that a length of second is green Lamp duration.By technical scheme provided in an embodiment of the present invention, the long green light time on major trunk roads is according to the car waited on major trunk roads Quantity determined that the long green light time on non-major trunk roads is according on the quantity of unsanctioned vehicle on major trunk roads and non-major trunk roads Two factors of vehicle of wait are determined jointly, so, on the premise of major trunk roads priority pass is ensured, reasonably distribute traffic money 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 is divided into major trunk roads and non-major trunk roads, and the traffic lights includes control major trunk roads First traffic lights of vehicle pass-through and the second traffic lights of the non-major trunk roads vehicle pass-through of control, as shown in figure 5, the traffic lights control System processed includes: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 wait, default trunk in the first quantitative range group corresponding to first quantity is determined Road vehicle threshold range, regard the corresponding duration of the default major trunk roads vehicle threshold range as the first long green light time;
First detector of traffic information 510, presets 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 judge whether the destination number is more than default 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 wait, and judge the destination number be more 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 default duration;Or, in first transport information inspection Survey device 510 and obtain the destination number of the vehicle waited on the major trunk roads, and judge that the destination number is not more than the target After amount threshold, default non-major trunk roads vehicle threshold value model in the second quantitative range group corresponding to second quantity is determined Enclose, using the corresponding duration of the default non-major trunk roads vehicle threshold range as second long green light time, wherein, described Two quantity are the 3rd predetermined time before second traffic lights becomes green light by red light, second detector of traffic information The quantity of the first-class vehicle treated of the non-major trunk roads acquired in 530, wherein, the default non-major trunk roads vehicle threshold range The maximum of corresponding duration is not more than the minimum value of the corresponding duration of the default 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, its storage inside execution logic computing, sequential control, Regularly, the instruction of the operation such as counting and arithmetical operation, is controlled various types of by digital or analog input and output Plant equipment or production process.The implementation procedure of programmable logic controller (PLC) can be divided into three phases:Input sample, user program Perform and output refreshes.
Detector of traffic information is applied in traffic detection system or traffic information acquisition system, quiet on track for detecting Vehicle and the vehicle of motion only, can be divided into video detector, coil checker, microwave detector etc. according to performance.Traffic Information detector by being detected in real time to each track, so as to obtain corresponding vehicle detection data.
In a kind of technical scheme 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 default major trunk roads vehicle threshold range is as the first long green light time, and by unsanctioned vehicle 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 more than The second long green light time is default duration during 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 default non-major trunk roads vehicle threshold range is corresponding that a length of second is green Lamp duration.By technical scheme provided in an embodiment of the present invention, the long green light time on major trunk roads is according to the car waited on major trunk roads Quantity determined that the long green light time on non-major trunk roads is according on the quantity of unsanctioned vehicle on major trunk roads and non-major trunk roads Two factors of vehicle of wait are determined jointly, so, on the premise of major trunk roads priority pass is ensured, reasonably distribute traffic money Source.
Alternatively, in a kind of embodiment, the first quantitative range group is led by the first major trunk roads vehicle threshold value and second Arterial highway 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 More than the first major trunk roads vehicle threshold value;3rd major trunk roads vehicle threshold range is not less than the second major trunk roads vehicle threshold value;Second master Arterial highway 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 wait, specifically for:
Determine the first major trunk roads vehicle threshold range of the first quantity correspondence, the second major trunk roads vehicle threshold range still 3rd major trunk roads vehicle threshold range;
When first quantity correspondence the first major trunk roads vehicle threshold range or the 3rd major trunk roads vehicle threshold value During scope, by the first major trunk roads vehicle threshold range or the corresponding default fixation of the 3rd major trunk roads vehicle threshold range Duration is used 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 3rd major trunk roads vehicle threshold range;
When first quantity correspondence the 3rd major trunk roads vehicle threshold range, calculated according to default first algorithm First long green light time.
Alternatively, in a kind of embodiment, the second quantitative range group is by the first non-major trunk roads vehicle threshold value and second Non- major trunk roads vehicle threshold value is divided into three continuous non-major trunk roads vehicle threshold ranges, wherein, the first non-major trunk roads vehicle threshold Value scope is not more than the first non-major trunk roads vehicle threshold value;3rd non-major trunk roads vehicle threshold range is not less than the second non-major trunk roads car Threshold value;Second non-major trunk roads vehicle threshold range the first non-major trunk roads vehicle threshold value and the second non-major trunk roads 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 wait, and judge that the destination number is not more than after the destination number threshold value, specifically for:
Determine the first non-major trunk roads vehicle threshold range of the second quantity correspondence, the second non-major trunk roads vehicle threshold range Or the 3rd non-major trunk roads vehicle threshold range;
When the second quantity correspondence first non-major trunk roads vehicle threshold range or the 3rd non-major trunk roads vehicle It is during threshold range, the described first non-major trunk roads vehicle threshold range or the 3rd non-major trunk roads vehicle threshold range is corresponding Default fixed duration is used as second long green light time;Wherein, the described first non-major trunk roads vehicle threshold range is corresponding default Fixed duration is less than the corresponding default fixed duration of the described 3rd non-major trunk roads vehicle threshold range;
When the second quantity correspondence second non-major trunk roads vehicle threshold range, according to default second algorithm meter Calculate second long green light time.
Alternatively, in a kind of embodiment, the programmable logic controller (PLC) 520, specifically for:
By the numerical value divided by 10 of first quantity, the first numerical value is obtained;
Judge whether first numerical value has decimal place, when first numerical value has decimal place, remove 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 the described first number Value;
The second value is multiplied by 10, the corresponding numerical value of first long green light time is obtained.
Alternatively, in a kind of embodiment, the programmable logic controller (PLC) 520, specifically for:
By the numerical value divided by 10 of second quantity, third value is obtained;
Judge whether the third value has decimal place, when the third value has decimal place, remove 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 described 3rd number Value;
4th numerical value is multiplied by 10, the corresponding numerical value of second long green light time is obtained.
In a kind of technical scheme 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 default major trunk roads vehicle threshold range is as the first long green light time, and by unsanctioned vehicle 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 more than The second long green light time is default duration during 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 default non-major trunk roads vehicle threshold range is corresponding that a length of second is green Lamp duration.By technical scheme provided in an embodiment of the present invention, the long green light time on major trunk roads is according to the car waited on major trunk roads Quantity determined that the long green light time on non-major trunk roads is according on the quantity of unsanctioned vehicle on major trunk roads and non-major trunk roads Two factors of vehicle of wait are determined jointly, so, on the premise of major trunk roads priority pass is ensured, reasonably distribute traffic money Source.
For system embodiment, because it is substantially similar to embodiment of the method, so describe fairly simple, it is related Part illustrates referring to the part of embodiment of the method.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposited between operating In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Nonexcludability is included, so that process, method, article or equipment including a series of key elements not only will including those Element, but also other key elements including being not expressly set out, or also include being this process, method, article or equipment Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Also there is other identical element in process, method, article or equipment including the key element.
Each embodiment in this specification is described by the way of related, identical similar portion between each embodiment Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.It is real especially for system Apply for example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part 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 substitution and improvements made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention It is interior.

Claims (10)

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 includes the second of the first traffic lights for controlling major trunk roads vehicle pass-through and the non-major trunk roads vehicle pass-through of control Traffic lights;Characterized in that, methods described includes:
The vehicle waited on the first predetermined time before the first traffic lights becomes green light by red light, the acquisition major trunk roads First quantity;
Default major trunk roads vehicle threshold range in the first quantitative range group corresponding to first quantity is determined, will be described pre- If the corresponding duration of major trunk roads vehicle threshold range be used 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 more than default destination number threshold value;
If the destination number is more than the destination number threshold value, corresponding second traffic lights of next red light is determined Second long green light time is default 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 default non-major trunk roads vehicle threshold range, regard the corresponding duration of the default non-major trunk roads vehicle threshold range as institute The second long green light time is stated, wherein, second quantity is preset for the 3rd before second traffic lights becomes green light by red light Moment, the quantity of the first-class vehicle treated of non-major trunk roads, wherein, the default non-major trunk roads vehicle threshold range is corresponding The maximum of duration is not more than the minimum value of the corresponding duration of the default major trunk roads vehicle threshold range.
2. according to the method described in claim 1, it is characterised in that the first quantitative range group is by the first major trunk roads vehicle threshold Value and the second major trunk roads vehicle threshold value are divided into 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;3rd 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;
Default major trunk roads vehicle threshold range in the first quantitative range group determined corresponding to first quantity, by institute The step of corresponding duration of default major trunk roads vehicle threshold range is as the first long green light time is stated, including:
Determine the first major trunk roads vehicle threshold range of the first quantity correspondence, the second major trunk roads vehicle threshold range or the 3rd Major trunk roads vehicle threshold range;
When first quantity correspondence the first major trunk roads vehicle threshold range or the 3rd major trunk roads vehicle threshold range When, by the first major trunk roads vehicle threshold range or the corresponding default fixed duration of the 3rd major trunk roads vehicle threshold range It is used 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 the 3rd major trunk roads vehicle threshold range;
When first quantity correspondence the second major trunk roads vehicle threshold range, according to being calculated default first algorithm First long green light time.
3. method according to claim 2, it is characterised in that the second quantitative range group is by the first non-major trunk roads vehicle Threshold value and the second non-major trunk roads vehicle threshold value are divided into three continuous non-major trunk roads vehicle threshold ranges, wherein, the first non-master Arterial highway vehicle threshold range is not more than the first non-major trunk roads vehicle threshold value;3rd non-major trunk roads vehicle threshold range is not less than second Non- major trunk roads vehicle threshold value;Second non-major trunk roads vehicle threshold range is in the first non-major trunk roads vehicle threshold value and the second non-major trunk roads Between vehicle threshold value;
Default non-major trunk roads vehicle threshold range in the second quantitative range group determined corresponding to second quantity, will The corresponding duration of the default non-major trunk roads vehicle threshold range is used as corresponding second traffic lights of the next red light The step of second long green light time, including:
Determine the first non-major trunk roads vehicle threshold range of the second quantity correspondence, the second non-major trunk roads vehicle threshold range still 3rd non-major trunk roads vehicle threshold range;
When the second quantity correspondence first non-major trunk roads vehicle threshold range or the 3rd non-major trunk roads vehicle threshold value It is during scope, the described first non-major trunk roads vehicle threshold range or the 3rd non-major trunk roads vehicle threshold range is corresponding default Fixed duration is used as second long green light time;Wherein, the corresponding default fixation of the described first non-major trunk roads vehicle threshold range Duration is less than the corresponding default fixed duration of the described 3rd non-major trunk roads vehicle threshold range;
When the second quantity correspondence second non-major trunk roads vehicle threshold range, institute is calculated according to default second algorithm State the second long green light time.
4. method according to claim 2, it is characterised in that described green according to default first algorithm calculating described first The step of lamp duration, including:
By the numerical value divided by 10 of first quantity, the first numerical value is obtained;
Judge whether first numerical value has decimal place, when first numerical value has decimal place, remove decimal place and by integer Position Jia 1, obtains second value;When first numerical value does not have decimal place, the second value is equal to first numerical value;
The second value is multiplied by 10, the corresponding numerical value of first long green light time is obtained.
5. method according to claim 3, it is characterised in that described green according to default second algorithm calculating described second The step of lamp duration, including:
By the numerical value divided by 10 of second quantity, third value is obtained;
Judge whether the third value has decimal place, when the third value has decimal place, remove decimal place and by integer Position Jia 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;
4th numerical value is multiplied by 10, the corresponding numerical value of second long green light time is obtained.
6. 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 includes the second of the first traffic lights for controlling major trunk roads vehicle pass-through and the non-major trunk roads vehicle pass-through of control Traffic lights;Characterized in that, the traffic light control system includes: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 car waited on the major trunk roads in first detector of traffic information The first quantity after, determine default major trunk roads vehicle threshold value in the first quantitative range group corresponding to first quantity Scope, regard the corresponding duration of the default major trunk roads vehicle threshold range as the first long green light time;
First detector of traffic information, for the second predetermined time before the green light becomes next red light, is obtained The destination number of the vehicle waited on the major trunk roads is taken, and judges whether the destination number is more than default destination number threshold Value;
The programmable logic controller (PLC), for obtaining the car waited on the major trunk roads in first detector of traffic information Destination number, and judge the destination number be more than the destination number threshold value after, determine next red light pair Second long green light time of the second traffic lights answered is default duration;Or, obtain 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, Default non-major trunk roads vehicle threshold range in the second quantitative range group corresponding to second quantity is determined, will be described default The corresponding duration of non-major trunk roads vehicle threshold range as second long green light time, wherein, second quantity is described Second traffic lights green light is become by red light before the 3rd predetermined time, it is described acquired in second detector of traffic information The quantity of the first-class vehicle treated of non-major trunk roads, wherein, the corresponding duration of the default non-major trunk roads vehicle threshold range is most Big value is not more than the minimum value of the corresponding duration of the default major trunk roads vehicle threshold range.
7. system according to claim 6, it is characterised in that the first quantitative range group is by the first major trunk roads vehicle threshold Value and the second major trunk roads vehicle threshold value are divided into 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;3rd 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;
The programmable logic controller (PLC), for obtaining the car waited on the major trunk roads in first detector of traffic information The first quantity after, specifically for:
Determine the first major trunk roads vehicle threshold range of the first quantity correspondence, the second major trunk roads vehicle threshold range or the 3rd Major trunk roads vehicle threshold range;
When first quantity correspondence the first major trunk roads vehicle threshold range or the 3rd major trunk roads vehicle threshold range When, by the first major trunk roads vehicle threshold range or the corresponding default fixed duration of the 3rd major trunk roads vehicle threshold range It is used 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 the 3rd major trunk roads vehicle threshold range;
When first quantity correspondence the 3rd major trunk roads vehicle threshold range, according to being calculated default first algorithm First long green light time.
8. system according to claim 7, it is characterised in that the second quantitative range group is by the first non-major trunk roads vehicle Threshold value and the second non-major trunk roads vehicle threshold value are divided into three continuous non-major trunk roads vehicle threshold ranges, wherein, the first non-master Arterial highway vehicle threshold range is not more than the first non-major trunk roads vehicle threshold value;3rd non-major trunk roads vehicle threshold range is not less than second Non- major trunk roads vehicle threshold value;Second non-major trunk roads vehicle threshold range is in the first non-major trunk roads vehicle threshold value and the second non-major trunk roads Between vehicle threshold value;
The programmable logic controller (PLC), for obtaining the car waited on the major trunk roads in first detector of traffic information Destination number, and judge that the destination number is not more than after the destination number threshold value, specifically for:
Determine the first non-major trunk roads vehicle threshold range of the second quantity correspondence, the second non-major trunk roads vehicle threshold range still 3rd non-major trunk roads vehicle threshold range;
When the second quantity correspondence first non-major trunk roads vehicle threshold range or the 3rd non-major trunk roads vehicle threshold value It is during scope, the described first non-major trunk roads vehicle threshold range or the 3rd non-major trunk roads vehicle threshold range is corresponding default Fixed duration is used as second long green light time;Wherein, the corresponding default fixation of the described first non-major trunk roads vehicle threshold range Duration is less than the corresponding default fixed duration of the described 3rd non-major trunk roads vehicle threshold range;
When the second quantity correspondence second non-major trunk roads vehicle threshold range, institute is calculated according to default second algorithm State the second long green light time.
9. system according to claim 7, it is characterised in that the programmable logic controller (PLC), specifically for:
By the numerical value divided by 10 of first quantity, the first numerical value is obtained;
Judge whether first numerical value has decimal place, when first numerical value has decimal place, remove decimal place and by integer Position Jia 1, obtains second value;When first numerical value does not have decimal place, the second value is equal to first numerical value;
The second value is multiplied by 10, the corresponding numerical value of first long green light time is obtained.
10. system according to claim 8, it is characterised in that the programmable logic controller (PLC), specifically for:
By the numerical value divided by 10 of second quantity, third value is obtained;
Judge whether the third value has decimal place, when the third value has decimal place, remove decimal place and by integer Position Jia 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;
4th numerical value is multiplied by 10, the corresponding numerical value of second long green light time is obtained.
CN201710459271.7A 2017-06-16 2017-06-16 A kind of traffic lamp control method and system Expired - Fee Related CN107016862B (en)

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 true CN107016862A (en) 2017-08-04
CN107016862B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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

Cited By (2)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN107016862B (en) 2019-06-07

Similar Documents

Publication Publication Date Title
CN104392607B (en) A kind of traffic state judging method and device
CN201716860U (en) Traffic signal light control system
CN108335496B (en) City-level traffic signal optimization method and system
CN106683451B (en) A kind of method and device of tramcar priority acccess control
CN108319895A (en) The method and apparatus at the crossing in electronic map for identification
CN205050347U (en) Intelligence time delay traffic signal lamp system based on PLC control
KR101385057B1 (en) Prediction of urban congestion using ITS based data
CN104575038A (en) Intersection signal control method considering priority of multiple buses
CN103956057B (en) A kind of for security protection traffic flow data intelligent processing system
CN104299432A (en) Supersaturated intersection signal lamp control method and device
CN108053661A (en) A kind of method and device of traffic control
Alam et al. Design and analysis of a two stage traffic light system using fuzzy logic
CN104794908B (en) The control method for coordinating and its coordinated control system of traffic congestion
CN102044160A (en) Method for releasing right-turn vehicles to pass through signalized intersection on short lane and control system thereof
CN105654720B (en) Loop detector layout method based on urban road congestion identification
CN107016862A (en) A kind of traffic lamp control method and system
CN103295404A (en) Road section pedestrian traffic signal control system based on pedestrian crossing clearance time
CN108573607A (en) A kind of traffic light control system and method
CN104318775A (en) Control stage express way off-ramp-ground road intersection integrated design method
CN105279963B (en) A kind of method and device for obtaining traffic information
CN108930206B (en) Method for setting crossing passing path under automatic driving
Qi et al. Real-time traffic camera-light control systems for intersections subject to accidents: A petri net approach
CN102682616B (en) Wireless Data Broadcasting System traffic information distribution method and equipment
CN105608894A (en) Method and device for determining abrupt jam state
CN110415522A (en) A kind of control method and device of the changeable driveway based on multiple target radar

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