COLLABORATIVE DISTRIBUTED AGENT-BASED TRAFFIC LIGHT SYSTEM AND METHOD OF USE

Information

  • Patent Application
  • 20220114887
  • Publication Number
    20220114887
  • Date Filed
    December 23, 2021
    3 years ago
  • Date Published
    April 14, 2022
    2 years ago
Abstract
In this disclosure, collaborative multi-agent-based TST is presented with dedicated intersection controllers that include software agents which read local and remote detection systems and then collaboratively optimize signal timing phases by considering the feedback of all controller agents that may be affected by a change. The disclosure also presents an augmented system which considers network input from handheld remote devices to update certain traffic light phase information and adapt to emerging emergency situations.
Description
FIELD OF THE INVENTION

This disclosure is directed to the technology field of traffic signal timing (TST) systems. A preferred embodiment of this disclosure is directed to collaborative distributed agent-based traffic lights (DALI).


BACKGROUND OF THE INVENTION

In the most basic terms, traffic signal timing involves determining the sequence of operation and assigning green time to each approach at an intersection while considering time for pedestrians and other users as well. Cycle lengths, phases, splits, peak hour trends, pre-timed and actuated signals, optimization, coordination, and communications between lights are all considerations in traffic signal timing.


A cycle length is the amount of time required to display all traffic light phases for each direction of an intersection before returning to the starting point, or the first phase of the cycle. Cycle lengths are based on traffic volumes and work best within a certain range depending on the conditions of the intersection. The goal of signal timing is to find an optimum cycle length for the most efficiency. Typical cycle lengths may range from one minute to three minutes. A split determines how much time each movement gets in a cycle. The split includes the green time and the clearance interval, or the time to clear the intersection, which includes the yellow and red lights. Clearance interval times are calculated based on speed limit, intersection widths, intersection grades, perception or start-up time, and acceleration rates. Clearance intervals are often referred to as the change interval, when changing from one signal phase to the next. The clearance time in that sequence is also referred to as “loss time” due to vehicles coming to a stop or starting-up and the time that no vehicles are moving through the intersection.


Pre-timed signals are based on observed traffic volumes and trends and do not change based on traffic volume. Such signals are common in downtown grid locations with closely located intersections and one-way streets or where it may not be feasible to maintain inductance detection loops for each signal location.


Actuated signals can be semi-actuated or fully actuated. In the case of semi-actuated timings, less than all approaches include inductance detection loops. Fully actuated signals rely inductance loop detection at all approaches. The pre-timed signals have preset timing plans that vary during different times of the day. Fully actuated signals have minimum and maximum ranges for light phases based on traffic volume.


The two most common types of intersections are isolated intersections and system intersections. Isolated intersections are separated from other signalized intersections and operate independently. System intersections are interconnected. Timing changes at one intersection effect the other intersections.


Signal system corridors are specialized routes in a set of system intersections. Signal system corridors are timed based on a time of day basis for each associated peak period. The most common peak periods are the AM, PM and midday. Typically, these peak periods are driven by traffic patterns or daily commutes by direction. AM and PM peaks may be associated with “inbound” or “outbound” traffic patterns. Midday traffic patterns are most often balanced by direction.


Vehicle detection systems are widely used to supplement signal timing systems. Examples of vehicle detection systems include inductive loop detectors, radar, sub pavement electromagnetic pucks, and video cameras. Inductance loops are often placed in saw cuts in the pavement and run back to the traffic signal cabinet. A detection card produces a magnetic field that detects when a vehicle is present over the loop. Radar detection and video detection are also widely used. These systems rely on electromagnetic reflection to detect the presence of a vehicle.


The traffic lights are typically operated by a dedicated traffic signal controller located at or near the physical intersection. The dedicated controller collects information from the detection system, decides how to respond, and sends appropriate activation signals to the traffic lights.


The dedicated controllers are often connected via fiber optics, copper wire, or wireless networks to local traffic control centers where they are monitored and controlled remotely. Through remote connections, the traffic control center can communicate directly to controllers to make changes to the traffic signal operation.


Modern Traffic Signal Timing systems (“TSTs”) rely on the detection of traffic conditions in real-time to determine effective signal settings. Generally, TSTs define traffic signal planning as an optimization problem where solutions are timing plans which meet objectives such as delay and stop minimization.


In the prior art, networked TSTs are known to approach the traffic signal timing optimization problem at the network level. These TSTs are fully centralized and, although reliable and robust, do not perform well in highly dynamic traffic conditions. Other prior art TSTs find optimal solutions only for isolated intersections. These systems make use of a variety of optimization techniques. But, one drawback of such isolated TSTs is the lack of interaction between intersection controllers which leads to sub-optimal solutions at the traffic system-level. Still other prior art TSTs solve the optimization problem for a subset of intersections. But, these systems generally limit coordination between controllers to only neighboring intersections.


In this disclosure, collaborative multi-agent-based TST is presented with dedicated intersection controllers that include software agents which read local and remote detection systems and then collaboratively optimize signal timing phases by considering the feedback of all controller agents that may be affected by a change.


The disclosure also presents an augmented system which considers network input from handheld remote devices to update certain traffic light phase information and adapt to emerging emergency situations.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is an architecture diagram showing a preferred network of collaborative distributed agent-based traffic lights.



FIGS. 2A and 2B are a sequence diagram for a preferred embodiment of the method for mode selection in a collaborative distributed agent-based traffic light monitoring and alerting system.



FIGS. 3A and 3B are a sequence diagram for a preferred embodiment of the method for collaborative distributed agent-based traffic light monitoring and alerting for vehicle mode.



FIGS. 4A, 4B and 4C are a sequence diagram for a preferred embodiment of the method for collaborative distributed agent-based traffic light monitoring and alerting for emergency mode.



FIGS. 5A and 5B are a sequence diagram for a preferred embodiment of the method for collaborative distributed agent-based traffic light monitoring and alerting for pedestrian mode.



FIG. 6 is a GUI screen shot of a preferred embodiment



FIG. 7 is a GUI screen shot of a preferred embodiment.



FIG. 8 is a GUI screen shot of a preferred embodiment.



FIG. 9 is a GUI screen shot of a preferred embodiment.



FIG. 10 is a GUI screen shot of a preferred embodiment.



FIG. 11 is a GUI screen shot of a preferred embodiment.



FIG. 12 is a GUI screen shot of a preferred embodiment.



FIG. 13A is an architecture diagram of an example of a preferred system of collaborative distributed agent-based controllers.



FIG. 13B is an architecture diagram for a preferred embodiment of a dedicated controller.



FIG. 14 is a traffic intersection network example.



FIG. 15 is an example of a controller located at an intersection.



FIG. 16A is a flowchart of a preferred embodiment of an agent routine.



FIG. 16B is a traffic intersection network example.



FIG. 16C is an example of a controller located at an intersection.



FIG. 17 is a flowchart of a preferred embodiment of an agent routine.



FIG. 18 is a flowchart of a preferred embodiment of an agent routine.



FIG. 19 is a graph of experimental data related to improved average delay time in an intersection resulting from implementation of a preferred embodiment.



FIG. 20 is a graph of experimental data related to improved average delay time in an intersection resulting from implementation a preferred embodiment.





DETAILED DESCRIPTION OF THE INVENTION

Referring then to FIG. 1, system 100 will be described. The preferred system includes a plurality of user devices 104, 108, 112 and 116. Applications 102, 106, 110, 114 are separate instances of an application program installed on each of user devices 104, 108, 112, 116. The number of user devices shown is exemplary and can vary. In the preferred embodiment, the user devices are smart phones, tablet computers, or onboard vehicle computers, with GPS and cellular data capabilities.


User devices 104, 108, 112 and 116 are connected to cloud server 124, emergency server 125, and controllers 120 and 121 through wide area network 118. Cloud server 124 is operatively dedicated to memory 126, which contains maps of road networks and intersections. Cloud server 124 is linked to the user devices by an application programming interface (API) with third-party application programs, such as Google Maps, or Waze. Emergency server 125 is operatively connected to memory 127, which contains emergency dispatch information such as a list of valid emergency codes, preset emergency corridor routes, emergency vehicle ID numbers, dispatch hubs and emergency vehicle locations.


Controllers 120 and 121 are dedicated microcomputers each having local memory and appropriate network adapters. In a preferred embodiment, each of the controllers is an Intelight Microcontroller Model No. 2070 XC3, available from Q-Free America of Carlsbad, Calif. The 2070 X3C meets and exceeds the current ATC, CalTrans and NTCIP standards, providing an open-architecture hardware platform. The X3C runs Linux on an ATC-compliant motherboard offering multi-thread capabilities. The XC3 ports provide front-facing access for Ethernet, USB and serial connections. The controller provides a touch screen input panel and is used for software configuration, as will be further described. The number of controllers shown is exemplary. In other embodiments, the number of controllers can reach many thousand.


Controllers 120 and 121 are operatively connected to intersection traffic lights 128 and 132 and sensors 130 and 134. Traffic lights 128 and 132 are preferably sets of red/green/yellow signals at crossing points of each intersection. Of course, other traffic light configurations are possible. Sensors 130 and 134 can be any number of sensor types for sensing the presence of vehicles, such as automobiles, trucks, motorcycles, and public transit, bicycles or pedestrians, at the intersection where the controller is installed. Each of the controllers is located at a predefined set of latitude and longitude coordinates. Each of the controllers is in direct communication with the other controllers, user devices and servers through the wide area network.


Controllers 120 and 121 are programmed with program dedicated controllers 122 and 123, respectively, which monitor various inputs from the sensors and input devices (such as pedestrian crossing buttons) at the intersection and generate outputs for the traffic and crosswalk signals.


Referring then to FIGS. 2A and 2B, a sequence of steps required for mode selection in a preferred embodiment will be described. Mode selections may be used to adjust traffic light timing by the user devices, as will be further described.


At step 202, user device 104 opens application 102. At step 203, the user device sends an open request. At step 204, application 102 generates a time synchronization request. At step 205 the request is sent to cloud server 124. At step 206, cloud server 124 determines current time. At step 207, cloud server 124 sends the current time to application 102. At step 208, application 102 synchronizes an onboard clock of the user device to match the current time of the cloud server. At step 209, application 102 generates a GPS location request. At step 210, the GPS request is sent to the user device. At step 211, user device 104 determines its current GPS coordinates from an onboard GPS transceiver. At step 212, user device 104 sends the GPS coordinates to application 102. At step 213, application 102 logs the GPS coordinates. At step 214, a map request is generated. At step 216, the map request is sent to cloud server 124. At step 218, cloud server 124 logs the GPS coordinates of the user device. At step 220, the cloud server identifies all controllers located at intersections in a predetermined perimeter around the GPS coordinates. At step 222, cloud server 124 then generates a local map showing all roadways and intersections within the perimeter.


At step 224, cloud server 124 sends the map to the application. At step 226, application 102 generates a graphical depiction of the map and a graphical user interface (GUI) control screen. At step 228 the screen is sent to user device 104. At step 230, user device 104 displays the screen. An example of a preferable GUI screen is shown in FIG. 6.


At step 232, the user device receives a selection of transportation mode. In the preferred embodiment, the modes of transportation modes available for selection include automobile, emergency vehicle, bicycle, pedestrian, disabled and motorcycle. At step 234, the mode selection is transmitted to application 102. At step 235, the mode selection is logged by application 102.


At step 236, the mode selection is sent from the user device to cloud server 124. At step 238, cloud server 124 compares the mode selection to a priority table to determine the vehicle priority value. Each mode is assigned a different vehicle priority, co,,. The vehicle priority, co, is used by the controllers to calculate new phase plans to accommodate the passage of the vehicle with green lights, as will be further described. In a preferred embodiment, the following table indicates vehicle priority for each mode.












TABLE 1







Mode
ων



















Emergency Vehicle
1



Disabled
0.8



Motorcycle
0.1



Bicycle
0.4



Pedestrian
0.5



Automobile
0.01










At step 240, cloud server 124 generates a list of all the controllers in the perimeter.


At step 242, the cloud server sends the vehicle priority to each affected controller in the list. At step 244, each affected dedicated controller 122 adjusts its traffic light timing plan based on the vehicle priority, as will be further described.


Referring then to FIGS. 3A and 3B, a preferred embodiment of “automobile mode”, will be described. In this mode, a message is sent to the user device indicating the speed at which to travel to reach each upcoming intersection when the phase at that intersection is green.


In one preferred embodiment, the user device is presented with the option of choosing a destination. In this case, at step 333, the user device receives input of a destination address. At step 334, the destination is sent to application 102. At step 335, the destination is logged by application 102.


At step 336, the user device receives an activation signal from the GUI. At step 337, the activation signal is sent to application 102. At step 338, application 102 generates a GPS location request. At step 340, the GPS location request is sent to the user device. At step 342, user device 104 determines current GPS location of user device 104. At step 344, the GPS coordinates are sent to application 102.


At step 346, application 102 then compares the GPS location of the user device and the destination to the map to determines a route. At step 350, application 102 determines which direction the user device is traveling on the route. Optimized routing routines available from a Google Maps API are preferred for use in this step. If no destination is chosen, the route is assumed to end at the next intersection along the roadway in the direction of travel.


At step 356, application 102 determines the IP address of the controller located at the next intersection that user device will encounter on the route. In another embodiment, an ID is used for the controller instead of the IP address to protect the security of the controller. At step 358, application 102 calculates the speed at which the user device is traveling from a difference between GPS locations over time. In a preferred embodiment, this step is accomplished by continuously monitoring the GPS coordinates of the user device and subtracting them from the GPS coordinates of the next intersection on the route. At step 360, application 102 calculates the estimated time of arrival of the user device at the next intersection on the route according to the following equations:







t
2

=


t
1

-


Δ





d

v









Δ





d

=


d
1

-

d
2






The application solves for arrival time t2, by subtracting the distance along the roadway between the current GPS location d1, and the location d2, of the next intersection, divided by the current velocity ν, of the user device from the current time t1. In an alternate embodiment this calculation may be performed by dedicated controller 122.


At step 362, application 102 generates a travel data message. The travel data message includes the vehicle priority, user device location, user device speed, route designation and the estimated time of arrival of the user device at the next intersection and sent to the controller at short, predetermined intervals. In a preferred embodiment, the travel data message is constantly updated by the application and is sent to the controller at short, predetermined intervals. The estimated time of arrival of the vehicle at the location of the intersection consistently becomes smaller as the vehicle approaches. Upon arrival, the estimated time of arrival approaches zero. In this way, the controller at the next intersection refines an accurate time of arrival to be used in adjusting the traffic light phase plan. At step 364, the travel data message is sent to dedicated controller 122.


At step 366, dedicated controller 122 logs the travel data. At step 367, dedicated controller 122 implements the vehicle priority and determines the appropriate traffic light phase plan to be used in adjusting traffic light cycles, as will be further described. At step 368, dedicated controller 122 executes the new phase plan to reduce delay. For instance, if dedicated controller 122 detects that there are no other vehicles at the intersection, then dedicated controller 122 may change the light cycle to green to facilitate the flow of traffic.


At step 378, dedicated controller 122 generates a message with light timing information. This message will contain the times of day that traffic lights 132 at the next intersection will be red/green/yellow for any given direction. At step 379, the light timing information is then transmitted to application 102.


At step 381, application 102 calculates the speed that user device should maintain to cross the intersection during a green light phase, according to the following equations:






v
=


Δ





d


Δ





t









Δ





d

=


d
1

-

d
2









Δ





t

=


t
1

-

t
2






The application solves for velocity, ν, by taking the distance along the roadway along the roadway between the user device GPS location d1, and the GPS location of dedicated controller 122 d2, and dividing by the difference between the time of day that the light cycle for that given direction will be green t1, and the current time of day t2.


At step 382, application 102 then generates a graphical depiction of a map and an appropriate GUI displaying the speed required to cross on green and the route of the user device. If it is impossible for the user device to reach the intersection on green at a reasonable speed, then application 102 will so indicate.


An example of a preferable GUI when no destination is input is shown in FIG. 7.


An example of a preferable GUI when a destination is input is shown in FIG. 8.


At step 383, the appropriate screen is then sent to the user device. At step 384, the map is displayed. At step 385, the application consistently monitors the difference between the location of the user device and the location of the intersection. If the intersection is not the destination, then at step 386, the application returns to step 350. If the intersection is the destination, then at step 387, the application ends the routine.


Referring then to FIGS. 4A, 4B and 4C, a sequence of steps required by the preferred embodiment in “emergency mode” will be described. In this mode, traffic lights along an emergency corridor are adjusted to be green at the time that the emergency vehicle arrives at each intersection.


A critically important effect of entering the emergency mode, as will become evident, is that the other controllers in the system outside the emergency corridor are still active and are still optimizing traffic flow through the collaborative system. The result is that even though the emergency corridor may create congestion, the other controllers sense the congestion as it arises and use the collaborative approach to dispel it. In this way, congestion is dissipated efficiently.


At step 420, user device 104 receives an emergency mode selection. An emergency mode selection sets the vehicle priority, ω-84 , to the maximum allowed. In a preferred embodiment, ων, is set to 1. Of course, other values may be used. At step 422, the emergency mode selection is sent to application 102. At step 424, application 102 logs the emergency mode selection.


At step 433, application 102 generates a graphical display with a GUI input for an emergency code. An example of a preferable GUI is shown in FIG. 9. At step 434, the screen is sent to user device 104, and at step 435 the screen is displayed on user device 104. At step 436, the user device receives input of an emergency code. At step 437, the emergency code is sent to application 102. At step 438, application 102 forwards the emergency code to emergency server 125.


At step 439, emergency server 125 logs the emergency code. At step 440, emergency server 125 retrieves a list of valid emergency codes. At step 441, emergency server 125 compares the input emergency code with the list of valid emergency codes. If the code is on the list it is approved, otherwise it is rejected. At step 442, a message indicating approval or rejection of the code is generated. At step 444, the code is sent to application 102. At step 446 application 102 then log the rejection or approval. At step 448, if rejected, then application 102 generates a rejection screen. At step 450, the rejection screen is sent to user device 104 and at step 452, the screen will be displayed on the user device.


At step 456, if the emergency code is approved, then application 102 generates a graphical depiction of a map and an appropriate GUI control screen. An example of a preferable GUI is shown in FIG. 10. At step 458, the screen is sent to user device 104 and displayed at step 460.


At step 462, user either inputs a specific destination, or selects a GUI icon for one of a set of pre-loaded emergency locations, such as hospitals, fire stations, and police departments. At step 463, the destination is sent to application 102. At step 464 application 102 logs the user destination. At step 465, the user device receives a selection of the “GO” GUI icon. At step 466, a “GO” command is sent to application 102.


At step 467, application 102 generates a GPS location request. At step 468, application 102 sends the request to the user device. At step 470, user device 104 determines its current GPS location. At step 472, user device 104 sends the current GPS location to application 102. At step 474, the application compares the current GPS location of the user device to the destination device to determine a route, as previously described. At step 475, application 102 then compares the route to the map to determine the intersections on the route. At step 476, application 102 determines which direction the user device is traveling. At step 479, application 102 determines the next intersection that the user device will encounter on the route and the IP address of the controller at that intersection. At step 480, application 102 calculates the speed at which the user device is traveling. At step 481, application 102 calculates the estimated time of arrival of the user device to the next intersection, as previously described.


At step 482, application 102 generates a travel data message. The travel data message includes the emergency mode status, a preassigned value of the vehicle priority, user device location, user device speed, route information and the estimated time of arrival of the user device at the next intersection. At step 483, the travel data message is sent to the dedicated controller at the next intersection; in this case, dedicated controller 122.


At step 484, dedicated controller 122 logs the travel data. At step 486, dedicated controller 122 reassigns its vehicle priority parameter, ων, to match that included in the travel data. At step 488, dedicated controller 122 determines the appropriate phase plan based on the vehicle priority parameter, as will be further described. At step 489, dedicated controller 122 executes the new phase plan. When a controller receives the maximum vehicle priority, the phase plan is set to change the light phase cycle to green in the direction of traffic for about 10 seconds before arrival of the vehicle to about 10 seconds after departure of the vehicle. At step 491, dedicated controller 122 communicates new phase plan to all affected dedicated controllers.


At step 492, application 102 generates a graphical display of a map and GUI control screen which includes the user's route. An example of a preferable GUI is shown in FIG. 8. At step 493, the screen is sent to user device 104. At step 494, the screen displayed on the user device.


At step 495, the application monitors the GPS location of the user device for a match with the GPS location of the intersection. At step 496, if there is a match, the application returns to step 476. At setup 497, if the intersection is the destination, then the routine ends. At step 498, after departure of the vehicle, the vehicle priority parameters is reset to 0.


Referring then to FIGS. 5A and 5B, a preferred embodiment for “pedestrian mode” is described. In this mode, light timing is adjusted to stop vehicle traffic as a pedestrian is crossing an intersection.


At step 536, the user device receives selection of an activation signal from the GUI. In a preferred embodiment, the activation signal sends the mode selection to the application. At step 538, the command is sent to application 102. At step 539, the application determines the GPS location of the user device. At step 540, application 102 compares the GPS location to a map stored in memory. At step 541, application 102 determines the direction of travel of the user device, as previously described. At step 542, application 102 determines the IP address of all dedicated controllers located at any intersections within a predetermined perimeter around the GPS location of the user device. At step 544, application 102 generates a graphical depiction of a map of the location of the nearest intersection along the direction of travel and the GPS location of each crosswalk at that intersection. A GUI screen is created that displays an aerial view of the intersection and a control icon at each crosswalk. An example of a preferable GUI is shown in FIG. 11. At step 546, the screen is sent to user device 104. At step 548, the screen is displayed on the user device.


At step 550, a crosswalk selection is received by the user device. At step 552, the selection is sent to application 102. At step 554, application 102 logs the crosswalk selection. At step 556, application 102 generates updates to the GUI control screen based on the crosswalk selection. The GUI control screen removes crosswalk control options which no longer apply based on the location and direction of travel of the user device.


At step 558, the GUI control screen updates are sent to user device 104. At step 560, the updates are displayed. At step 567, the user device receives a selection of the GUI object “GO”. At step 568 the “GO” command is transmitted to application 102. At step 569, application 102 generates a travel data message. The travel data message includes the vehicle priority parameter, user device location, user device route information, and including the selected crosswalk to cross. At step 570, the travel data message is sent to the dedicated controller located at the intersection, such as dedicated controller 122.


At step 571, dedicated controller 122 logs the travel data message. At step 572, dedicated controller 122 adjusts its vehicle priority parameter to match that in the pedestrian vehicle priority value in the travel data. At step 573, dedicated controller 122 determines the appropriate traffic light phase plan to accommodate the vehicle priority and the selected crosswalk.


In a preferred embodiment, a pedestrian vehicle priority sets the phase plan to red at only the directions of traffic flow that interfere with the crosswalk selected. In another embodiment, the phase plan sets all traffic lights to red for an extended cycle, such as when “handicap mode” is selected. At step 574, dedicated controller 122 executes the new phase plan. At step 575, dedicated controller 122 determines the time that it will take the user device to cross the intersection at its current position and speed. At step 578, application 102 generates a message including the time required to cross the intersection. At step 579, the time is then transmitted to application 102.


At step 580, application 102 generates a graphical depiction of a map of the intersection with pedestrian crossing time. An example of a preferred embodiment of the display screen is shown in FIG. 12. At step 581, the screen is then sent to user device 104. At step 582, the screen is displayed on the user device. The time to cross is updated constantly on the display by reference to the internal clock of the user device.


Referring then to FIG. 6, mode selection screen 600 will be described.


Mode selection screen 600, includes destination text entry form 602, map 604, destination icon 606, route display 608, control button 610, and mode selection buttons 612, 614, 616, 618 and 620.


Destination text entry form 602, preferably, allows data entry from a keypad of a mobile device. In another preferred embodiments, the destination text entry form may include a dropdown box with preselected locations, known to exist on a map.


Map 604 shows a display of a two-mile radius of a local map centered at the location of the user device, generated as previously described.


Destination icon 606 shows the designation of the destination entered, on the map, from the destination selection.


Route 608 shows a calculated path, along a known road, on the map, between the GPS location of the user device and the GPS location of the destination.


Control button 610 is provided to initiate certain functions of the application, as previously described.


Mode selection button 612 indicates a vehicle. Attributes related to vehicle, such as average speed, vehicle priority and recommended travel paths are retrieved and stored in each dedicated controller, as will be further described. Likewise, mode selection button 614 indicates an emergency vehicle, and activates attributes of an emergency vehicle, such a preselected code entry screens, as will be further described. Likewise, mode selection button 616 indicates a bicycle mode, with appropriate attributes, as will be further described. Mode selection button 617 indicates a pedestrian, including appropriate parameters for pedestrian transportation. Mode selection button 618 indicates a handicap mode of transportation, including appropriate attributes, as will be further described. Likewise, mode selection button 620 indicates a motorcycle mode of transportation, with appropriate attributes, as will be further described.


Referring to FIG. 7, preferable GUI display 700 when no destination is input, will be described.


Route display 702 displays the roadway names of the next intersection and the intersection type. At display location 708, the time to the next intersection along any left-hand turn route is displayed. At display location 706, the time to the next straight-ahead traffic intersection is displayed. Likewise, at display location 704, the time to any right-hand turn intersection is displayed.


At display location 710, the speed required to reach the first intersection along the left-hand turn route while the intersection is in the green phase is displayed. Likewise, at display location 712, the speed to reach the straight-ahead intersection on the green phase is displayed. Likewise, display location 714, the speed to reach the next intersection along the first right hand turn route while on the green phase is displayed. In this example, no reasonable speed will reach the next right-hand turn intersection in time for the green phase, therefore, an “X” is displayed instead of a recommended speed.


In a preferred embodiment, the GUI display the aerial view of route at 716. In a preferred embodiment, icon 718 displays the GPS location of the user device.


Referring to the FIG. 8, preferable GUI display 800 is shown when a destination is input.


In this example text display 802 shows the next intersection along the preferred route to the destination.


Display area 804 shows the time to the next intersection period.


Display area 806 the recommended speed to reach the next intersection while on the green phase is displayed.


In a preferred embodiment, aerial view of the route is displayed at 808. At 810, an icon is displayed indicating the GPS location of the user device.


Referring to FIG. 9, a preferable GUI data entry screen 900 for emergency mode will be described.


Screen 900 include emergency mode indicator 902 and data entry field 904. Data entry field 904 allows the user device to receive a code to activate the emergency mode, as previously described.


Referring then to FIG. 10, an example of a preferable GUI for emergency mode display 1000, will be described.


Display 1000 includes map 1002. An icon showing GPS location of the user devices shown at 1003. Icons for prioritized locations, 1004, 1006 and 1008 are displayed within a predetermined perimeter around the GPS location of the user device.


Activation button 1010 is provided. Further, mode override buttons 1012 are also provided, which allows the user to override preselected mode type.


Referring then to FIG. 11, a preferable example for a pedestrian crossing priority 1100 will be described.


Display location 1102 displays an identification of the intersection at which the user device is located. Similarly, an aerial display of the intersection is shown at 1104. Control icons 1106, 1108, 1110 and 1112 indicate alternate crosswalk selections.


Activation button 1114 is provided to allow the user device to alert the application to a pedestrian crossing an intersection.


Mode override buttons 1116 are provided to change the pre-determined mode of the application.


Referring then to FIG. 12, preferred GUI display 1200 of a pedestrian crossing time, will be described


Display 1200 includes display area 1202 indicating the location of the intersection. Icon 1204 is provided indicating the GPS location of the user device. At each roadway crossing an icon is provided. Icon 1206 indicate the amount of crossing time available to a pedestrian. Icon 1208 indicates the amount of wait time before a pedestrian may cross an adjoining roadway.


Display area 1203 shows an aerial view of the intersection closest to the GPS location of the user device.


Referring to FIG. 13A, an alternate network 1300 of dedicated microcontrollers will be described. This embodiment may be used in conjunction with the embodiment shown in FIG. 1.


Network 1300 includes dedicated controllers c1, c2, c3, c4, c5, c6, c7, c8, and c9 all connected through wide area network 1302. A greater or lesser number of controllers may be employed. In a preferred embodiment, wide area network 1302 is the Internet. Interconnections between the controllers and the wide area network are carried out by fiber or wireline connections and attached network adapters (not shown) resident in each controller. Each of controllers c1 through c9 includes a microcontroller, such as microcontroller 1308 including an embedded application, such as application 1310 stored in local memory, as will be further described. Each of the controllers is operatively connected to a set of sensors, such as sensors 1304 and a set of traffic lights, such as traffic lights 1306.


Referring then to FIG. 13B, application 1310 will be further described.


Application 1310 comprises an interaction system 1356.


Interaction system 1356 further comprises sensing and data processing system 1358 and communication processing system 1364.


Sensing and data processing system 1358 further comprises environment perception module 1360 and real-time prediction module 1362. In a preferred embodiment, environment perception module includes appropriate connections to sensors 1304. Sensors 1304 can include radar sensing systems, magnetic or induction coil systems or video systems adapted to sense the presence of traffic at the intersection at which the application is installed. Other traffic and pedestrian sensing systems may be employed. Real-time prediction module 1362 includes algorithms for traffic planning, as will be further described.


Communication processing system 1364 includes module 1366, module 1368 and module 1370. In a preferred embodiment, module 1366 includes the network interface to the wide area network and facilitates communications with other controllers, servers and user devices. In a preferred embodiment, module 1368 includes the appropriate circuity to drive the 110V relays that operate the traffic lights. In a preferred embodiment, module 1370 includes the interface to removable memory storage, such as a flash drive.


Interaction system 1356 communicates with planning and decision making system 1372. Planning and decision making system further comprises decision making module 1374, planning module 1376 and control module 1378.


In a preferred embodiment, decision making module 1374 includes algorithms for traffic control, as will be further described.


In a preferred embodiment, planning module 1376 includes algorithm for traffic control, as will be further described.


In a preferred embodiment, control module 1378 implements communication through the communication processing system to other applications installed on controllers at neighboring intersections, servers and user devices.


Knowledge base 1380 further comprises external knowledge base 1381 and internal knowledge base 1388.


External knowledge base 1380 further comprises traffic model 1382, pedestrian module 1384 and transit vehicle module 1386.


Traffic module 1382 includes a traffic knowledge base and a traffic events knowledge base. In a preferred embodiment, these knowledge bases include a historical records of traffic flow patterns and accident incidents which occur at the intersection.


Pedestrian module 1384 includes a pedestrian knowledge base and a pedestrian events knowledge base. In a preferred embodiment, these knowledge bases include a historical record of pedestrian flow patterns and incidents which occur at the intersection.


Transit vehicle module 1386 includes a transit vehicle knowledge base and a transit vehicle events knowledge base. In a preferred embodiment, these knowledge bases include a historical record of transit vehicle flow patterns and accident incidents which occur at the intersection.


Internal knowledge base 1388 further comprises agent knowledge base 1390, agent state 1392 and constraints and rules module 1394. In a preferred embodiment, agent knowledge base 1390 includes functions and definitions necessary for application 1310 to function, as will be further described. Agent state 1392 further comprises a self-monitoring function which reports whether or not application 1310 is in a functional state.


Constraints and rules modules 1394 includes relationship tables for neighboring controllers and definitions for the intersection at which the controller is positioned.


Referring to FIG. 14, an example of the logical connections between the controllers will be described.


In one preferred embodiment, each controller is connected only to its immediate neighbors. In this example, controller c1 is connected to controllers c3 and c2. Connector c2 is connected controller c1, c4, c5 and c8. Controller c3 is connected to controller c1, c2, c4 and c7. Controllers c4 is connected to controller c3, c7 and c9. Controller c9 is connected to controller c4 and c8. In other embodiments, the controllers may also be connected to other controllers, servers, and user devices through network interface cards, as previously described.


Each controller maintains a table in memory of the IP addresses of each of the controllers to which it is connected. This table, stored in local memory of each controller, is used to facilitate communications between the controllers. An example of a controller map memory table is shown below.













TABLE 2







Controller
Next Neighbors






















C1
C2
C3





C2
C1
C4
C5
C8



C3
C1
C4
C7



C4
C2
C3
C7
C9



C5
C2



C6
C1
C5



C7
C3
C4



C8
C2
C9



C9
C4
C8










Each of the controllers is physically located at an intersection in a roadway system. The intersections are separated by roadway segments which are designated according to traffic flow patterns between intersections. For example, the roadway where traffic flows from c2 to c1 is designated rc2,c1. The roadway segment where traffic flows from c1 to c2 is designated rc2,c1. Likewise, traffic from on the roadway segment which carries traffic from c5 to c2 is designated . Likewise, the roadway segment which carries traffic from c2 to c5 is designated rc2,c5.


Referring to FIG. 15, an example of an intersection will be described. Lane and phase conventions are used to describe traffic flow at each intersection. Lanes are designated as “·lnx”. The lanes are numbered from the outside to the inside. In this example, the outside lanes are labeled “·ln1” and the inside lanes are labeled ·ln2.


Each controller is assigned a set of phases. ph designates phase, followed by the designation of the intersection and the designation of the phase. In this example, controller c2 has four phases, phc21, phc22, phc23, phc24.

  • Set Definitions
  • T={t1, . . . , ti} is the set of time-stamps at which traffic conditions are evaluated.
  • C={c1, . . . , cn} is the set of intersection controllers. An intersection controller cn is assigned a weight co which corresponds to its priority in the road network.
  • Rd={rc1,c2, . . . , rcm,cn} is the set of road segments between intersections. A road segment rcm,cn is defined in terms attributes such as length l, speed limit sl and a set or lanes







L






N

r


c
m

,

c
n





=

{


ln
1









ln
q


}









LT


r


c
m

,

c
n



.

ln
w






is the set or lanes that are accessible from rcm,cn·lnW






LF


r


c
m

,

c
n



.

ln
w






is the set or lanes that have access to rcm,cn·lnW

  • PHcn={phcn,1, . . . phcn,k} is the set of phases for the intersection controlled by cn. A phase phcn,K is defined in terms of γ, the split time, ν, the minimum green time, n, the maximum green time, ∈, the yellow time, ξ, the red time and






L






N

p






h


c
n

,
k








the set or lanes it applies to.

  • Function Definitions
  • p(rcm,cn·lnW, rcm,cn·lnu) is the probability that a vehicle exiting lane w in road segment rcm,cn enters lane u in road segment rcn,cp. This probability is predefined based on historical data for the roadway segment and is stored in memory of the controller.
  • P(rcm,cn, rcm,cn·lnW) is the probability that a vehicle which enters road segment rcm,cn, leaves it from lane w. This probability is predefined based on historical data for the roadway segment and is stored in memory of the controller.
  • rateOut(rcm, cn·lnW) is the rate of vehicles (per second) that can leave the intersection through lane w of road segment rcm,cn within the current split time.
  • rateIn(ti, rcm,cn) is the rate of vehicles (per second) that enter road segment rcm,cn in the evaluation interval τ that ends at time ti.
  • ξti, rcm, cn·lnW is the traffic throughput for lane rcm, cn·lnW, i.e the ratio of vehicles getting in and leaving the lane. It is defined as:







ξ


t
i

,



r


c
m

,

c
n



·
l







n
w




=



rateIn


(


t
i

,

r


c
m

,

c
n




)


×

p


(


r


c
m

,

c
n



,


r


c
m

,

c
n



·

ln
w



)




rateOut


(


t
i

,


r


c
m

,

c
n



·

ln
w



)







Referring to the FIG. 16A, plan generation and execution routine 1600 will be described. At step 1601, the controller is found in a steady state condition operating with a current plan of phase timing. At step 1603, the controller communicates with the other controllers to exchange traffic information.


Referring to FIG. 16B, an example of the exchange of traffic information between controllers will be described. Three consecutive unidirectional road segments rν,s, rs,n and rn,m controlled respectively by controllers cs, cn and cm.


Controller cn exchanges two sets of information with controller cm.


First, the number of vehicles detected by road segment rs,n's detector, and for each vehicle, its estimated arrival time at road segment's rn,m stop bar. The vehicle's estimated arrival time is computed based on p(rm,n·lnw, rn,s), traffic flow rate ξ, and the distance along the roadway between the two stop bars.


Second, the anticipated number vehicles to arrive at rs,n's stop bar from s and from any other intersection preceding s (up to a maximum estimated arrival time of four minutes), and the estimated arrival time of these vehicles at rn,m's stop bar based on cn's current timing plan.


At step 1605, controller cm continuously defines possible timing plans based on ξ, the status of its phases, and timing constraints and configuration (e.g., minimum and maximum green, yellow and red clearance intervals). A timing plan includes a sequence of phase combinations as well as their splits and offsets.


At step 1607, given that the controllers goal is to find the values of the offset and split that minimize delay, for each timing plan, the controller computes the estimated delay using the phases' estimated queue lengths, estimated vehicle arrivals, location of user devices that will arrive at its intersection in the near future, the priority of user devices (i.e., ων) and the value of probabilities. It then prioritizes the plans based on ων and minimum delay.


At step 1609, the controller executes the plan with the highest priority, and re-starts the process immediately


Referring to FIG. 16C, an example of the definition and selection of timing plans by controllers, will be described. The intersection's phases, four and eight, are red, and, phases 2 and 6 are green. The assumption is that the estimated vehicle arrival times communicated to controller cn by adjacent controllers for vehicles ν3, ν4, ν1, ν2 and ν5 to be 2 s, 3 s, 6 s, 6 s and 9 s, respectively. The vehicle priorities ω84 for all vehicles are assumed to be the same. Controller c2 first defines possible timing plans. In this example, the assumption is that there are only two possible timing plans: a) plan pl1: keep phases two and six green for nine seconds and then switch to phases four and eight; b) plan pl2: keep phases two and six green for the next three seconds; then, switch to phases four and eight and keep them green for four seconds; finally switch back to phases two and six. Controller c2 then computes the estimated delay for each timing plan. The delay for a plan is the sum of the estimated delay for vehicles. Assume that the yellow interval is one second and there is no red clearance interval. For pl1, given that ν1's estimated arrival is 6 s, and phase four will become green after ten seconds, the estimated delay for ν1 is 10−6=4 seconds. The estimated delay for ν2, ν3, ν4, and ν5 are 4 s, 0 s, 0 s and 0 s, respectively. Therefore, the estimated delay for plan ph is eight seconds. With similar computations, the estimated delay for pl2 is zero. Therefore, controller cn selects and executes pl2.


Referring to the FIG. 17, an alternate embodiment of a computation algorithm 1700 will be described.


At step 1701, the controller is in steady state condition, computes and executes timing plans, according to a current configuration of phase timing. The current configuration of phase timing includes an assignment of the green light time for each phase of traffic flow. The global configuration of phase timing also includes the current phase timing maps for each controller in the network. An identical copy of the global phase timing map is resident in memory of each controller on the network, and, if present on the network, each central server.


In steady state, intersection controller cn continuously evaluates the traffic flow to determine if a re-timing operation is necessary. At each ti, cn receives rateIn and determines rateOut.


In one embodiment rateIn is detected through sensors at the controller. In another embodiment, rateIn is determined from sensors of each of the controllers nearest neighbor controllers. In either case, rateOut is determined by monitoring sensors local to the controller cn.






Cong


t
i

,

ph


c
n

,
k







At step 1703, at time ti, controller cn computes congestion as the average throughput for the set of lanes controlled by phcn, k.







Cong


t
i

,

p






h


c
n

,
k





=




r


c
m

,




c
n

·
l







n
w




L






N

p






h


c
n

,
k











ξ


t
i

,



r


c
m

,

c
n



·
l







n
w









If custom-characteris greater than threshold α, then cn considers that there is an “instant congestion” and assigns the value of “1” to the variable InstantCongestion as follows:







InstantCongestion


t
i

,

p






h


c
n

,
k







{



1




Cong


t
i

,

p






h


c
n

,
k






a





0




Cong


t
i

,

p






h


c
n

,
k





<
a









cn then considers the past “b” evaluation cycles to determine the percentage of evaluation cycles in which the phase was congested. The past evaluation cycles are stored in local memory at the controller. Percentage congestion is defined as:







PercentCong


t
i

,

p






h


c
n

,
k





=






z
=

i
-
b


i



InstantCongestion


t
i

,

p






h


c
n

,
k






b

×
100





If







PercentCong


t
i

,

p






h


c
n

,
k





>
d




then the road lanes controlled by phcn,k are considered to be congested.


The following pseudocode example illustrates a preferred embodiment of an algorithm used to determine congestion:














Algorithm 1: Controller Congestion Reduction








Require: PHcn, ti










 1:
for all phcn,k ∈ PHcn do



 2:
 EvaluateTraffic(phcn,k, ti: TotalInstCong)






 3:

ifTotalInstCongb>dthen







 4:
  Generate Plan(phcn,k, ti: plannew)



 5:
  RequestForEvaluation(phcn,k, plannew Ψcn)



 6:
  if Ψcn > h then



 7:
   ExecutePlan(plannew)



 8:
  end if



 9:
 end if



10:
end for






11:




if





ReceiveRequestForEvaluation






(


c
p

,

κ

r


c
p

,

c
n




,

κ

ph


c
q

,
j




)






then










12:

ComputeLevelOfAgreement(κrcp,cn,κphcq,j)







13:
end if



14:
if Receive RequestForExecution(cp, plannew) then



15:
 AdjustTiming (plannew)



16:
end if









The following pseudocode example illustrates a preferred embodiment of an algorithm used to determine instant congestion.














Algorithm 2: Evaluate Traffic








Require: PHcn, ti










 1:
for all phcn,k ∈ PHcn do



 2:
 TotalInstCong ← 0



 3:
 for j = 0 to b do



 4:
  δ = 0






 5:
  
foreachrcm,cn·lnwLNphcn,kdo







 6:
   δ ← ξti − j, rcm,cn · lnw + δ



 7:
  end for






 8:
  
Congti,phcn,kδ







 9:
  
ifCongti,phcn,kathen







10:
   TotalInstCong ← TotalInstCong + 1



11:
   \* TotalInstCong Represent sum Over




   InstantCongestion



12:
  end if



13:
 end for



14:
end for









At step 1705, the controller, generates a new phase configuration. To do so, cn deliberates to determine the value of a new split that will alleviate congestion on phCn k. The value of the new split is calculated as:








plan
new

·
phase
·
γ

=



plan
cur

·
phase
·
γ

*

(

e
+






z
=

i
-
v


i



Cong


t
z

,

p






h


c
n

,
k






v

*
f


)






where e and f are coefficients that regulate the influence of the traffic throughput and the current split time. If plannew·phase·γ is greater than the maximum allowed split time γMAX, then its value is set to phcn, k·γMAX.


The following pseudocode example illustrates a preferred embodiment of an algorithm to generate a new phase timing configuration.














Algorithm 3: Generate Configuration








Require: PHcn, ti



Ensure: plannew










 1:
plannew · phase ← phcn,k



 2:
χ ← 0



 3:
for j = i − v to i do






 4:

χχ+Congti,phcn,κ







 5:
end for






 6:




χ


χ
v











 7:
plannew · phase · γ ← plancur · phase · γ * (e + χ * f)



 8:
if plannew · phase · γ > phcn,k · γMAX then



 9:
 plannew · phase · γ ← phcn,k · γMAX



10:
end if









At step 1707, the controller requests evaluation from each of its next neighbor controllers.


cn determines the impact of executing the new configuration on the neighboring intersections in terms of κ, the increment in vehicle rate.






κ


r


c
m

,

c
n



.

ln
w






is calculated for road lane rcm,cn·lnW as:







κ



r


c
m

,

c
n



·
l







n
w



=



rateOut


(


t
i

,


r


c
m

,

c
n



·

ln
w



)


×

(



plan
new

·
phase
·
γ

-


plan
cur

·
phase
·
γ


)




plan
new

·
phase
·
γ










κ

ph


c
n

,
κ






for a phase phcn, k is defined as the sum of






κ


r


c
m

,

c
n



.

ln
w






for the set of lanes controlled by the phase. In the same way,






κ

r


c
n

,

c
p







for a road segment rcn, cp, is the sum of







κ


r


c
n

,

c
p



.

ln
w



.




Controller cn proceeds by sending plannew, rcn, cp and






κ

ph


c
n

,
k






to each adjacent controller cp evaluation.


The following pseudocode is an example of an algorithm of a preferred embodiment of a request made by controller cn to its next neighbor controllers.












Algorithm 4: Request for Evaluation







Require: PHcn,k, plannew


Ensure: Ψcn











 1:





κ

ph


c
n

,
κ




0









 2:




for





each







r


c
m

,

c
n



·

ln
w







in






LN

ph


c
n

,
k








do









 3:

κphcn,κκphcn,κ+κrcm,cn·lnw






 4:
end for


 5:
Ψcn ← 0


 6:
for each accessible neighbor cp, in parallel do





 7:

κrcn,cp0






 8:

forrcm,cn·lnwLNphcn,κdo






 9:
  
forrcn,cp·lnuLTrcm,cn·lnwdo






10:
   
κrcn,cpκrcn,cp+(p(rcm,cn·lnw,rcn,cp·lnu)×κrcm,cn·lnw)



11:
  end for


12:
 end for





13:

Send(cp,κrcn,cp,κphcn,k)






14:
 Receive(cp, Ψcp)


15:
 Ψcn ← Ψcn + Ψcp


16:
end for









At step 1709, the controller computes the level of agreement between all controllers.


Upon receipt of a new configuration, cn's neighboring controller cp computes rcp, cq for each of its neighbor controllers cq and requests that they each evaluate the configuration. The process propagates until at a given intersection, either the value of κ is smaller than a predetermined threshold g or the configuration reaches the road network boundaries. Following this step and recursively, each controller sends back its level of agreement in terms of a real number Ψ, to the controller from which it has received the request. An intermediate controller, cp, calculates Ψcp based on the existing traffic throughput, its priority, c, its assigned vehicle priority ων, and the ratio of the received additional vehicle throughput.


At step 1711, the controller decides whether or not the level of agreement is greater or less than a preset value. After receiving the level of agreement from all affected neighbors, cp combines them with its own level of agreement Ψcp and sends the value back to cn. The final decision is made based on the value of Ψcn representing the feedback of all involved controllers. The following equation is used:






A
=




i
=
1

n




(

ω
c

)



(

ω
v

)



Ψ
i









where






{





A

0

=
Agrememt







A
<
0

=
Disagreement









If the value of Ψ, exceeds a predetermined value of x, then the controller proceeds to step 1713. If not, then the controller returns to step 1701.


At step 1713, the controller implements the new configuration.


At step 1715, the controller sends an implementation signal to each of its next neighbor controllers to implement the new configuration.


The controller then returns to step 1601 and enters a steady state run condition.


Referring then to FIG. 18, evaluation algorithm 1800 will be described.


At step 1801, the controller is found in a steady state run condition.


At step 1803, the controller receives a request for evaluation of a new configuration from a next neighbor controller.


At step 1805, the controller calculates







κ



r


c
n

,

c
p



·
l







n
w



,




as previously described.


At step 1807, the controller calculates







κ

p






h


c
n

,
κ




,




as previously described.


At step 1809, the controller sends the new configuration, and the values of







κ

r


c
n

,

c
p









and






κ

ph


c
n

,
κ







to each of its next neighbor controllers.


At step 1811, controller computes a level of agreement as previously described.


At step 1813, the controller sends the level of agreement calculated to the requesting controller.


The controller then returns to the steady state run condition at step 1801.


Referring again to FIG. 14 and FIG. 15, a practical example of an implementation of the algorithms of a preferred embodiment of the system for controller c2, will be described.


C2 has four incoming roads, each with two lanes. Referring to FIG. 15, the four phases of c2's intersection are phc2, 1, phc2, 2, phc2, 3, phc2, 4. These phases apply as follows:


phc2, 1for rc1, c2


phc2, 2for rc4, c2


phc2, 3for rc8, c2


phc2, 4for rc5, c2


The phases have the following example attribute values.






γ
=
40






v
=
20






n
=
60






ϵ
=
5






ξ
=
5




where:


γ is the split time


ν is the minimum green


n is the maximum green


ϵ is the yellow change interval


ξ is the red clearance interval


The following constants have been used in this example.









a
=
1






b
=
50






d
=
80






e
=
1






f
=
0.2







In this example, to determine whether or not a congestion condition occurs, c2 evaluates the status of its intersection at the time stamp t6000. It starts with phase, phc2, 1and calculates the average traffic throughput






Cong


t
6000

,

ph


c
2

,
1







for the set of road lanes that phc2, 1 controls. Given that rateOut(t6000, rc1, c2·ln1)=1, p(rc1, c2·ln 1=0.8 and rateIn(t6000, rc1,c2)=2.4, the value of






ξ


t
6000

,



r


c
1

,

c
2



·
l







n
1







is







ξ


t
6000

,



r


c
1

,

c
2



·
l







n
1




=



2.4
×
0.8

1

=
1.92





For the sake of illustration, assume that








Cong


t
6000

,

ph


c
2

,
1




=
1.31

,




greater than the threshold α=1. c2 then retrieves the calculated values of Cong between the time stamps t5950 and t5999 . In this example, 43 of them are greater than α. Therefore,







PercentCong


t
6000

,

p






h


c
2

,
1





=



43
50

×
100

>
80





Consequently, c2 detects a congestion condition on phase phc2, 1 and deliberates to define a new configuration.


To generate a new configuration, the controller deliberates to determine the value of a new split that will alleviate congestion on phcn, k, as shown in exemplary steps 7 and 9 of Algorithm 3. e and f are calibration coefficients that are predetermined and stored in memory. The coefficients e and f regulate the influence of the traffic throughput and the current split time for the new split time. They can be calibrated over time to achieve peak efficiency. Values of cycle length and offset change in the new split.


In this example, the value of the new split is calculated as the average of Cong for phase phc2, 1 in the last ν=20 evaluation cycles is 1.23. Given that e=1 and f=0.2, c2 defines a new configuration for phc2, 1, and computes plannew·phase.γ as:








plan
new

.
phase
.
γ

=


40
×

(

1
+

1.23
×
0.2


)



18





Therefore, c2 determines that it needs to increase phc2, 1·γ by about 18 seconds.


To determine the impact of executing the new configuration on the neighboring intersections controller c2requests an evaluation in terms of K, the increment in vehicle rate.






κ



r


c
m

,

c
n



·
l







n
w






is determined as me increment in vehicle rate for a roadway.






k

p






h


c
n

,
k







is defined as the increment in vehicle rate for the phase.






k

p






h


c
n

,
k







for a phase phcn, k is further defined as the sum of






k

r


c
m

,



c
n

·
l







n
w








for the set of lanes controlled by the phase (Algorithm 4, Step 3). In the same way,






k

r


c
n

,

c
p







for a road segment rcn,cp is further defined as the sum of






κ



r


c
n

,

c
p



·
l







n
w






(algorithm 4, step 10). Controller cn proceeds by sending plannew,







k

r


c
n

,

c
p









and






k

p






h


c
n

,
k








to each adjacent controller cp for evaluation.






k

p






h


c
n

,
k







corresponds to the increment in the rate of vehicles that exit the road lanes controlled by phcn, k, in case the new configuration is to be executed.






k

r


c
n

,

c
p







corresponds to the portion of






k

p






h


c
n

,
k







that goes to road segment rcn, cp. In the illustrative example, c2 calculates






κ



r


c
1

,

c
2



·
l







n
1






as.







κ



r


c
1

,

c
2



·
l







n
1



=



1
×

(

50
-
40

)


50

=
0.25





Having








k



r


c
1

,

c
2



·
l







n
2



=
0.3

,





k

p






h


c
2

,
1








takes the value of 0.55. c2 then calculates the effect of executing a new configuration on its neighboring intersections, such as the intersection controller by controller c4. Assuming p(rc1, c2·ln1, rc2, c4·ln1)=0.7, p(rc1, c2·ln1, rc2, c4·ln2)=0, p(rc1, c2·ln2, rc2, c4·ln1)=0.2 and p(rc1, c2·ln2, rc2, c4·ln2)=0, custom-characterwill be calculated as:







k

r


c
2

,

c
4




=



0.25
×
0.7

+

0.25
×
0

+

0.3
×
0.2

+

0.3
×
0


=
0.32





c2 then sends a request for evaluation to c4 with







k

r


c
2

,

c
4




=


0.32





and






k

p






h


c
2

,
1





=

0.55
.






This means that by executing plannew, an additional 0.55 vehicle per seconds (vps) will leave phc2, 1, and out of the 0.55 (vps), 0.32 (vps) will enter rc2, c4.


Upon receipt of a new configuration, cn's neighboring controller cp computes






k

r


c
p

,

c
q







for each of its neighbor controllers cq and requests that they each evaluate the configuration. The process propagates until at a given intersection, either the value of k is smaller than predetermined threshold g which is the propagation scope coefficient, or the configuration reaches the road network boundaries. Each of the controllers on the network then sends its level of agreement in terms of a real number Ψ, to the controller from which it has received the request. All other controllers, like, for example, controller, cp, calculates Ψcp based on the existing traffic throughput. Its priority ω, its vehicle priority ων, and the ratio of the received additional vehicle throughput, x, y and z are coefficients that calibrate the influence of variables in Ψcn representing the opinion of all affected controllers in the network.


ωc is a predetermined priority variable for each of the controllers, stored in local memory. It can be used to change the immediate timing of any intersection based on an external request by a user device or a server. In general, ωc is used to adjust the timing of lights at heavy traffic intersections. Likewise, the vehicle priority, ων, is used as an interface parameter with embodiments that include servers and user devices that present transportation modes to prioritize traffic flow.


In the illustrative example, given that rateOut(t6000, rc2, c4·lnW)=1,








rateOut


(


t
6000

,


r


c
2

,

c
4



·

ln
2



)


=
0.3

,


rateIn


(


t
6000

,

r


c
2

,

c
4




)


=
1.2

,


p


(


r


c
2

,

c
4



,


r


c
2

,

c
4



·

ln
1



)


=


0.8





and






p


(


r


c
2

,

c
4

,





r


c
2

,

c
4



·

ln
2



)



=
0.2


,




the value of ψc4 is calculated as:







Ψ

c
4


=


1.0
×
2.0
×

0.32
0.55

×

(


(

1
-

1
×



(

0.32
+
1.2

)

×
0.8

1



)

+

(

1
-

1
×



(

0.32
+
1.2

)

×
0.2

0.3



)


)


=

-
.02






c4 calculates k for c3, c7 and c9 and ask them to evaluate the configuration if k is greater than threshold g. The result is added to Ψc4 and sent back to c2. Upon receipt of Ψc4, Ψc5, and Ψc8, controller c2 calculates Ψc2. By adding all the values of Ψ received plus its own value of Ψ. Given that h is the decision-making threshold is h=0, total negative values of Ψ are considered as a level of disagreement (Algorithm 1, Step 6) while total positive values of Ψ are considered a level of agreement. Having Ψc2=2.34, c2 executes the new configuration and announces the execution to all controllers in the network. Each of the controllers then implements the new configuration.

  • Experimental Results


Experiments of a preferred embodiment of the system were run on a multicore PC (Intel Core i7 X980 CPU (3.33 GHz), 6.00 GB, 64-bit Windows 7). A simulated model of a road network of Richardson, Tex. was created in MATISSE. The model includes 1365 road segments, 128 signalized intersections and 965 non-signalized intersections. Tables 1 and 2 summarize the types of signalized and non-signalized intersections, classified based on the number of incoming and outgoing lanes.









TABLE 3







Number of Signalized Intersection with


Various Incoming and Outgoing Lanes















Type
1 × 1
1 × 2
1 × 3
2 × 2
2 × 3
3 × 3







Count
0
4
8
18
29
69

















TABLE 4







Number of Non-Signalized Intersection with


Various Incoming and Outgoing Lanes















Type
1 × 1
1 × 2
1 × 3
2 × 2
2 × 3
3 × 3







Count
533
241
175
16
0
0










Three simulation settings were run eight times for 86,400 simulation cycles representing a 24-hour time period. The average delay for all vehicles was measured. In the first and second experiments, real-world data provided by the City of Richardson was used to simulate regular traffic patterns with and without accidents. In the third and fourth experiments, simulated continuous random traffic patterns with and without accidents was used. For all experiments, comparing the efficiency of DALI with the SCATS-based system currently in use in Richardson (SCATS-R), and a model of the RL-based MARLIN-ATSC [15] (MARLIN-R). To decrease the learning time of MARLIN agents, initialization of the Q-values based on estimations derived from historical data as provided by the City of Richardson.

  • Experiment 1: Normal Traffic Conditions


In this experiment, use of the traffic data provided by the City of Richardson to determine the number of vehicles in the traffic network at any given time, as well as their distribution in the network. This experiment is intended to analyze the behavior of the three systems under nominal traffic conditions.


As shown in FIG. 19, between the times of 00:30 am and 5:30 am DALI and SCATS-R perform at the same level with respect to delay. This is due to the fact that during this time period, traffic is very light and therefore DALI agents do not perform any action. MARLIN-R agents perform better (53% delay reduction) in this situation because of their flexibility in changing the traffic phases at any time. As we progress during the day (i.e., 6:30 am to 8:30 am) the traffic flow increases, and congestion is detected. DALI agents naturally collaborate with one another to define and implement timing configurations that meet the network conditions. As such, DALI performs significantly better than SCATS-R (23% delay reduction). MARLIN-R performs slightly less than DALI. The simulation shows that this is due to the fact that MARLIN-R agents do not handle heavy traffic in small network areas with a large number of intersections efficiently. In those cases, MARLIN-R agents give the right-of-way to vehicles without taking into account the downstream roads which are congested.

  • Experiment 2: Normal Traffic Conditions with Accident



FIG. 20 shows the performance of the systems when an accident is triggered at run time, during normal morning peak traffic. As expected, DALI handles the traffic much better than SCATS-R (35% delay reduction). It is notable that MARLIN-R agents are unable to control the congestion created by the accident since they have no prior knowledge of the unexpected traffic pattern. Similar to Experiment 1, the simulation shows that, rather than leading the vehicles towards roads with lighter traffic, MARLIN-R agents send vehicles to congested areas.

Claims
  • 1. A system for communicating traffic signal information to a vehicle comprising: a first dedicated controller, operatively connected to a first memory and a first traffic control device;a user device, operatively connected to a second memory, and in network communication with the first dedicated controller;a set of instructions, resident in at least one of the first memory and the second memory, that when executed cause the system to: determine a user device location;determine a user device route;determine a first dedicated controller location on the user device route;derive a set of user device travel information;determine a phase plan for the first traffic control device based on the set of user device travel information;execute the phase plan, thereby altering a performance of the first traffic control device;derive a first traffic control device operation schedule based on the phase plan;calculate a user device speed based on the first traffic control device operation schedule; and,display the user device speed on the user device.
  • 2. The system of claim 1 wherein the set of user device travel information further comprises: a user device travel direction, a set of user device estimated time of arrival at the first dedicated controller, an intersection location on the user device route.
  • 3. The system of claim 1 wherein the phase plan for the first traffic control device further comprises: a sequence of phase groups and a green light duration.
  • 4. The system of claim 3 wherein the user device speed further comprises: a speed, to travel a distance between the user device location and the first dedicated controller location, on the user device route, to reach the first dedicated controller location during the green light duration.
  • 5. The system of claim 1 further comprising: a second dedicated controller, operatively connected to a third memory and a second traffic control device, and in network communication with the first dedicated controller;wherein the set of instructions are resident in at least one of the first memory, the second memory and the third memory;wherein determining a phase plan further comprises: sending a collaboration signal from the first dedicated controller to the second dedicated controller;calculating an agreement parameter based on the collaboration signal; and,executing the phase plan based on the agreement parameter.
  • 6. The system of claim 5 wherein the collaboration signal further comprises at least one of a phase status, a first number of vehicles arriving at the first dedicated controller, a first set of arrival times for the first number of vehicles, a second number of vehicles arriving at the second dedicated controller, and a second set of arrival times for the second number of vehicles.
  • 7. The system of claim 5 wherein the agreement parameter further comprises at least one of a sequence of phase groups and green light durations, a split value, and an offset value.
  • 8. A system for communicating traffic signal information to a vehicle comprising: a set of dedicated controllers, operatively connected to a first set of memories and a set of traffic control devices;a user device, operatively connected to a second set of memories, and in network communication with the set of dedicated controllers;a set of instructions, resident in the first set of memories and the second set of memories, that when executed cause the system to: determine a location of the user device;determine a user device route;determine a first location of a first dedicated controller of the set of dedicated controllers on the user device route;determine a second location of a second dedicated controller of the set of dedicated controllers on the user device route;derive a set of user device travel information;determine an agreed phase plan for a first traffic control device of the set of traffic control devices and a second traffic control device of the set of traffic control devices based on the set of user device travel information;derive a first traffic control device operation schedule based on the agreed phase plan;derive a second traffic control device operation schedule based on the agreed phase plan;execute the agreed phase plan, thereby altering a performance of the first traffic control device and the second traffic control device;calculate a user device speed based on the first traffic control device operation schedule; and,display the user device speed on the user device.
  • 9. The system of claim 8 wherein determining the agreed phase plan further comprises: sending a first set of traffic information from the first dedicated controller to the second dedicated controller;sending a second set of traffic information from the second dedicated controller to the first dedicated controller;deriving a set of phase plans based on the first set of traffic information and the second set of traffic information; and,determining an optimal phase plan from the set of phase plans.
  • 10. The system of claim 9 wherein the first set of traffic information and the second set of traffic information further comprises: a set of traffic control phases;a set of light duration timing constraints;a value for detected vehicles; and,a value for anticipated vehicles.
  • 11. The system of claim 10 wherein each phase plan of the set of phase plans further comprises an offset value and a split value, and wherein determining the optimal phase plan further comprises: calculating a delay value for each phase plan of the set of phase plans using the offset value and the split value to derive a set of delay values; and,determining a minimum delay value of the set of delay values.
  • 12. The system of claim 8 wherein determining an agreed phase plan further comprises: generating, by the first dedicated controller, a proposed phase plan;sending a request for a set of evaluations of the proposed phase plan to each dedicated controller of the set of dedicated controllers;calculating a level of agreement based on the set of evaluations; and, if the level of agreement is greater than a predetermined agreement parameter;adopting the proposed phase plan as the agreed phase plan.
  • 13. The system of claim 11 wherein generating the agreed phase plan further comprises: receiving a set of sensor readings from the first traffic control device; and,calculating a traffic congestion value.
  • 14. A method for communicating traffic signal information to a vehicle comprising: providing a first dedicated controller, operatively connected to a first memory and a first traffic control device;providing a user device, operatively connected to a second memory, and in network communication with the first dedicated controller;providing a set of instructions, resident in at least one of the first memory and the second memory, that when executed: determine a user device location;determine a user device route;determine a first dedicated controller location on the user device route;derive a set of user device travel information;determine a phase plan for the first traffic control device based on the set of user device travel information;execute the phase plan, thereby altering a performance of the first traffic control device;derive a first traffic control device operation schedule based on the phase plan;calculate a user device speed based on the first traffic control device operation schedule; and,display the user device speed on the user device.
  • 15. The method of claim 14 further comprising providing the set of user device travel information as a user device travel direction, a set of user device estimated time of arrival at the first dedicated controller, an intersection location on the user device route.
  • 16. The method of claim 14 further comprising providing the phase plan for the first traffic control device as a sequence of phase groups and a green light duration.
  • 17. The method of claim 16 further comprising providing the user device speed as a speed to travel a distance between the user device location and the first dedicated controller location, on the user device route, to reach the first dedicated controller location during the green light duration.
  • 18. The method of claim 14 further comprising: providing a second dedicated controller, operatively connected to a third memory and a second traffic control device, and in network communication with the first dedicated controller;wherein the set of instructions are resident in at least one of the first memory, the second memory and the third memory;wherein determining a phase plan further comprises: sending a collaboration signal from the first dedicated controller to the second dedicated controller;calculating an agreement parameter based on the collaboration signal; and,executing the phase plan based on the agreement parameter.
  • 19. The method of claim 18 further comprising providing the collaboration signal as at least one of a phase status, a first number of vehicles arriving at the first dedicated controller, a first set of arrival times for the first number of vehicles, a second number of vehicles arriving at the second dedicated controller, and a second set of arrival times for the second number of vehicles.
  • 20. The method of claim 18 further comprising providing the agreement parameter as at least one of a sequence of phase groups and green light durations, a split value, and an offset value.
CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No. 16/946,531 filed Jun. 25, 2020, now U.S. Pat. No. 11,217,094 granted on Jan. 4, 2022 which claims priority benefit from U.S. Provisional Application No. 62/866,586 filed Jun. 25, 2019, and U.S. Provisional Application No. 62/870,634 filed on Jul. 3, 2019. The patent applications identified above are incorporated here by reference in their entirety to provide continuity of disclosure.

Provisional Applications (2)
Number Date Country
62866586 Jun 2019 US
62870634 Jul 2019 US
Continuations (1)
Number Date Country
Parent 16946531 Jun 2020 US
Child 17645878 US