Professional Documents
Culture Documents
An Agent Oriented Software Platform For Urban Traffic Ne - 2010 - IFAC Proceedin
An Agent Oriented Software Platform For Urban Traffic Ne - 2010 - IFAC Proceedin
Abstract: The paper presents a software application for modeling, simulation and analysis of urban
traffic networks behavior in different functioning contexts. A module of control techniques, based on
different approaches (as genetic algorithms, fuzzy and neural networks) allows the platform to provide
decision support for context-based traffic control in large urban areas. The application is based on a
three-layered control architecture: the basic level monitoring and controlling junctions, the middle one
ensuring smooth functioning of sub-networks, by the coordination of interconnected junctions and the top
level ensuring a globally optimized functioning of the system.
(2006) reviews several directions of development in the use controls – number and connections of input/ output roads,
of distributed or multi-agent systems in the form of peer-to- number and synchronization of traffic lights (also reflected in
peer networks of decision makers in urban traffic control. the activation profile), capacity of input roads (number of
standard vehicles that they can contain without causing
This paper is using an approach that decomposes a traffic
congestions), links with peer agents – and parametrical data.
network into two kinds of parts: active elements, such as
junctions, which have a definite role in regulating the car Parametrical data are either linked to the car flows, or to the
flow, and passive elements, as the roads that link active current activation profile. Such parameters are defining three
elements and are only physical parameters of the system. basic functioning regimes for the agent, if correlated with the
structural information about input road capacity (figure 3.):
Based on this decomposition, the agent-based architecture
presented by the paper has the structure depicted in figure 1.
1
phase 2 middle layer is solicited to resolve the conflict.
0.5
0
0
The middle layer of the architecture is composed by zone
20 40 60 80 100 120
1
phase 3 supervisors-agents. Such an agent is coordinating the
0.5 functioning of a physical traffic sub-network, mediating the
0
0 20 40 60
phase 4
80 100 120 conflicts between junction agents and furnishing them with
1
0.5
appropriate activation profiles for the critical zone regime.
0
0 20 40 60
phase 5
80 100 120
They can ensure an optimal functioning regime in terms of
1
0.5
maximal car flow in their supervised area, using different
0
0 20 40 60 80 100 120 control approaches such as Genetic Algorithms, fuzzy and
neural networks.
Fig.2: Activation profile sample
The top layer consists in a higher level supervisory agent and
The inner model of a junction agent contains structural coordinates zone supervisors, basically establishing, for
information about the physical structure of the crossroad it
214
TA 2010
Timisoara, Romania, Oct 5-8, 2010
critical functioning contexts that cannot be solved otherwise, Main functionalities include:
degraded functioning regimes with preferential routes.
- configuration of junction agents, based on a library of
Zone supervisors are also dealing with priority vehicles, as generic agents; a generic agent has a given physical structure,
the higher level supervisor will solve problems related to represented by the number of input/ output roads, and number
grave accidents or infrastructure modifications. of light phases. The user can select a structure and configure
it by adding parametric information that define the basic
The architecture is conceived so as to allow the bottom layer
model of activation profiles (Figure 5)
to ensure a basic functioning even in situations in which
communication links between agents are broken, either
horizontally or vertically, by the basic contextual scenarios
(activation profiles) that are stored in the world model of
junction agents.
The software platform that will be presented in the following
was conceived with the main purpose to generate appropriate
contextual activation profiles, based on different contexts of
functioning (night/ day, rush hours, rain, snow etc.) as
reflected in input simulation data.
215
TA 2010
Timisoara, Romania, Oct 5-8, 2010
Control modules can be either used for exchanging a single 4. CONTROL APPROACH FOR URBAN TRAFFIC
activation profile – for a given junction agent – or for
Given the complexity and the particularities of urban traffic
calculating globally adequate ones for groups of junction
control and optimization problems, the latest research efforts
agents, at the zonal supervisor agent level.
in the area of traffic control are directed towards the use of
artificial intelligence methods. Intelligent techniques
approaches have been successfully applied to traffic control
problems, such as rule-based systems for predefined plan
selection (Logi, F. & Ritchie, S.G., 2001), fuzzy rules control
systems (GiYoung 2001), neural networks (Spall 1994)
(Lopez 1999), or neuro-fuzzy systems (You-Sik 1999),
cellular automata modelling and evolutionary algorithms
optimization (Rouphail 2000), (Sanchez-Medina 2008).
The decentralized modeling approach presented in Section 2
transforms the congestion prevention into a green light
timings optimization problem, decomposable in multiple sub-
problems which can be solved at each layer in the hierarchy
of control.
The bottom layer agents work in the timeframe of the real
traffic environment, therefore their congestion prevention
Fig.7.: Car queues representation in simulation mechanisms must be based on fast response, direct methods
derived from current measurements only. This is the reason
Simulation regime is used both for checking out the adequacy that they have either to slightly modify existing activation
of already designed activation profiles (Figure 8) and for profiles or select/request directly other profiles, based on
designing and testing context scenarios. global values of input car flows.
In the case of junction agents, fuzzy logic is a powerful tool
for processing nondeterministic and non-linear problems,
such as that of adjusting green light timings according to the
conditions of traffic observed at any given moment. Traffic
control is generally expressed by rules, which makes fuzzy
rule-based signal control a plausible choice.
Membership functions are defined for crossroad lane queue
lengths using fuzzy terms such as “long-queue”, “short-
queue”. More green time is allocated for a lane if there are
many vehicles arriving in, and less green time otherwise.
The fuzzy local congestion prevention mechanism provides a
reasonable alternative when the bottom layer becomes
disconnected from superior command in the event of
whatever system or communication failure.
Simulation results prove satisfactory performance when the
traffic load is not critical. However, such local congestion
Fig.8: Specification of an activation profile prevention mechanism does not guarantee a global solution
The graphical interface guides the user through the due to lack of spatial and temporal perspective. Therefore, to
application flow, from data acquisition to simulation and optimize for global performances, the implementation of a
visualization of results. supervisor level is needed which will monitor, synchronize
and coordinate a group of junction agents in a given sub-
Preliminary studies of urban traffic regions simulations using region.
the software platform confirm the adequacy of the multi-
agent approach for the modeling and simulation of complex, The zonal supervisor works on a larger timescale,
large scale systems. implementing strategies to serve two main objectives:
The implicit modularity obtained by the multi-agent • regional statistic estimation and prediction planning for
implementation allows a functional decomposition leading to zonal optimization;
a reduction of complexity without loss of generality. The • conflict resolution if mutual agreement on green light
autonomous functioning of each agent combined with both timings fails between any two junction agents on the
horizontal and vertical communication among working units bottom layer.
results in a complex, emergent behavior of the overall system
which could have hardly been modeled otherwise. In order to achieve zonal congestion prevention, genetic
algorithm (GA) optimization has been implemented, taking
216
TA 2010
Timisoara, Romania, Oct 5-8, 2010
into account multiple (or all) junctions in the area of interest. − the default type double for chromosomes, within a
The optimization variables are the green phase timing lengths certain lower bound and upper bound [lb, ub]
for all junctions of interest. The total light phase duration is derived from the time limits imposed on each phase;
also an optimization variable, aiming towards a balanced
traffic flow across the region. − population size of 15 chromosomes;
217
TA 2010
Timisoara, Romania, Oct 5-8, 2010
consideration to verify the feasibility of the implementation Caramihai, S., Voinescu, M., Munteanu, C., Dumitrache, I.
in the real traffic environment. (2009), “An Agent-Based Approach for Urban Traffic
Simulation and Control”, Proceedings of the 6-th IFAC
The simulations presented above were done on a machine
International Workshop on Knowledge and Technology
with an Intel Core2 Duo CPU at 2.6GHz. The total run-time
Transfer in/to Developing countries: Automation and
was slightly below the time-span of the simulations with
Infrastructure, September 26-29, 2009, Ohrid,
possible overhead due to other Windows processes running.
Macedonia
Also, further code optimization may be possible.
Udrea, A., Voinescu, M., Caramihai, S., Lupu, C., (2009).
"A Dual Approach for Modelling Urban Traffic",
Proceedings of the 13th IFAC Symposium on
5. CONCLUSION AND FUTURE WORK
Information Control Problems in Manufacturing, 3-5
The paper presents an agent-based hierarchical architecture June 2009, Moscow, Russia
for simulation of an urban traffic network. The lower level of Logi, F. and Ritchie, S.G., (2001). “Development and
the architecture, whose functioning was described, is evaluation of a knowledge-based system for traffic
consisting in junction-agents, which are able to control one congestion management and control”, Transportation
single crossroad each. Research Part C: Emerging Technologies, 9, 6, 433—
459
Every agent is able to react to the dynamics of the input flows GiYoung, L., et al. (2001), “The Optimization of Traffic
of vehicles by controlling the light cycle of the junction in Signal Light using Artificial Intelligence”, Proceedings
order to avoid congestion on its inputs. Also, an agent of the 10th IEEE Conference on Fuzzy Systems, vol. 3,
communicates with its peers that control neighboring 1279-1282
junctions, in order to exchange data on their respective output Lopez, S., Hernández, P., Hernández, A., García, M., (1999)
flows, as they are provided by sensors. “Artificial Neural Networks as Useful Tools for the
Higher levels of the hierarchy are responsible with the Optimization of the Relative Offset between Two
coordination of agents linked in traffic sub networks, acting Consecutive Sets of Traffic Lights”, Engineering
as zone supervisors and, for the last level, the general Applications of Bio-Inspired Artificial Neural Networks,
network supervisor. International Work-Conference on Artificial and Natural
Neural Networks, IWANN '99, Alicante, Spain, June 2-
Agents can estimate the behavior of the controlled junctions 4, 1999, Proceedings, Volume II 1999
by simulation of formal models. Rouphail, N., et al. (2000), “Direct Signal Timing
A software application allowing the user to build and Optimization: Strategy Development and Results”, The
simulate urban traffic networks was designed to implement XI Pan American Conference in Traffic and
the functions of the control architecture . Transportation Engineering
Sanchez Medina, J. J., Galan Moreno, M. J., Rubio Royo, E.,
Future work is concerned with the development of Value (2008), “Evolutionary Computation Applied to Urban
Judgment modules of lower layer agents, the improvement of Traffic Optimization”, Advances in Evolutionary
prediction and planning capabilities for zonal supervisors, as Algorithms, ISBN: 987-953-7619-11-4, pp. 468- ,
well as with the design of the higher level supervisory agent November
capable to use intelligent techniques in order to determine the Spall, J. C., D. C. Chin (1994), “A model-free approach to
best parametric solution for junction model in a given optimal signal timing for system-wide traffic control”,
context. Proceedings of the 1994 IEEE Conference on Decision
ACKNOWLEDGEMENTS and Control, ed. M. Peshkin, 1868-1875. Institute of
Electrical and Electronics Engineers, Lake Buena Vista,
The paper presents a part of the research performed in the Florida
framework of the project “Intelligent techniques for Voinescu, M., Udrea, A., Caramihai, S. (2009), "On Urban
modeling, analysis and optimization of urban traffic” (TIME- Traffic Modelling and Control", Journal of Control
OUT – 7.1.108), financed by the National Centre of Engineering and Applied Informatics, Vol 11, No 1
Programme Management, Romania. You Sik, H., JongSoo, K., Kwangson, J., Park, C., (1999),
REFERENCES "Estimation of optimal green time simulation using fuzzy
neural network," Fuzzy Systems Conference
Hoogendoorn, S. P., (2001). “State-of-the-art of Vehicular Proceedings, 1999. FUZZ-IEEE '99. 1999 IEEE
Traffic Flow Modelling”, Special Issue on Road Traffic International , vol.2, no., pp.761-766 vol.2
Modelling and Control of the Journal of Systems and
Control Engineering
Maeoka, A., Tajima, T., (2000).“System Architecture for
Traffic Management in Japan”, Proceedings of the 7th
Annual World Congress on ITS, Torino
Prikryl, J., (2006). Overview of Distributed Decision-Making
for Urban Traffic Control, Proceedings of Abstracts of
the 7th International PhD Workshop on Interplay of
societal and technical decision-making, pp. 49-51
218