AGENTS COORDINATION IN FLAT HIERARCHICAL
SOCIETY-ORIENTED SYSTEMS
Mihaela R. Cistelecan
Technical University of Cluj-Napoca, str. Daicoviciu 15, RO-3400, Cluj-Napoca, Romania
Keywords:
agents, distributed system, sliding manifold
Abstract:
The paper proposes a framework for engineering a coherent society-oriented system using the concept of
sliding-mode control from systems theory. The agents are coordinated through local control laws using a
switching logic related to the sliding manifolds. The sliding manifolds stand for sub-plans and therefore
they are updated every time a change in planning is required. The agents have the ability of self-adaptation
by adjusting the structure of the sliding manifolds. The design is performed using tools from the algebraic
framework. We also address the problem of deriving the sliding manifolds from the given specifications.
1 INTRODUCTION
Nowadays, a topic of great interest for many differ-
ent research areas is the study of the distributed sys-
tems. The outstanding feature of these systems is that
their architecture looks like a network consisting of
many different interacting entities. The control sys-
tems and computer science communities pursue dif-
ferent ways in their study of the distributed systems.
The approaches from the perspective of the computer
science emphasize the agent behaviour and give an
analysis of the outcome of the system. The (decen-
tralized) decision making system and interaction pro-
tocols are often given in a very complex form and
the outcome is a descriptor of the ”adequate guess”
of the decision. These approaches are important be-
cause they always deal with complex agents - ratio-
nal agents - that make decisions based on logical as-
sertions or plans. Mathematically, the behaviour of
the rational agents, may be described by either dis-
crete event systems (DES) or hybrid systems, (Ortiz
et al., 2001), (Antsaklis and Passino, 1993). Since
the interaction among entities is based on social rules
these systems are most often called either social sys-
tems or society-based systems (SoS). Aside from the
fact that the interaction is based on social rules, of-
ten the agent is not the only type of entity that is en-
countered in SoSs. In SoSs the interaction may be
represented through different kinds of action, such as
cooperation, collaboration, competition, negotiation,
communication. Sometimes, the interaction histories
are also important, (Sen and Dutta, 2002). While
the analysis problem for SoS is quite well developed,
the synthesis problem still poses many challenges.
On the other hand, the approaches from the perspec-
tive of the control systems community deal with not
so sophisticated agents, no planning is implemented
by agents, but the synthesis problem is successfully
solved using tools from control theory. The systems
that these approaches deal with are generally called
multi-agent systems. The features revealed by the two
kinds of approaches may also be noticed by compar-
ing (Fisher and Wooldridge, 2003) and (Yan et al.,
2003).While the technological systems that obey so-
cial laws are dynamical systems and therefore they
should deal with traditional concepts like equilibrium
and system trajectory still, embedding the planning
action into their dynamics is not a trivial matter.
In this paper, we do not dwell on the philosophi-
cal aspects of the social systems, but stick to the idea
of engineering a system that eventually accomplishes
the given task. Therefore, we are interested only in
the synthesis problem. Our research tries to develop
a design procedure for SoSs by using concepts from
the perspective of dynamical systems theory. The ba-
sic idea of the proposed framework, essentially com-
ing from (Cistelecan, 2004a), is that the coordina-
tion in a SoS should be made dependent on the dy-
namics of the interaction among entities. Therefore,
we are in favor of a systematic off-line development
76
Cistelecan M. (2004).
AGENTS COORDINATION IN FLAT HIERARCHICAL SOCIETY-ORIENTED SYSTEMS.
In Proceedings of the First International Conference on Informatics in Control, Automation and Robotics, pages 76-83
DOI: 10.5220/0001141400760083
Copyright
c
SciTePress
of a coordination mechanism implying the following:
1. a decentralized control law that take into account
the interaction among entities 2. formalization of the
coherence problem as a stability problem; 3. a dis-
tributed planning induced by the sliding manifolds. In
our research we transform the hybrid systems that de-
scribe the agents behavior into dynamic polynomial
systems. The purpose of this paper is to extend the
analysis of the framework already introduced in (Cis-
telecan, 2004b) by investigating thoroughly the prob-
lem of deriving the sliding manifolds from the prob-
lem specifications.
This paper is organized as follows. In Section 2 we
investigate the issues that are important for the SoSs
design. In Section 3 we show the mathematical model
of the agent. In Section 4 we introduce the idea of a
nominal control system for the proposed framework.
In Section 5 we introduce the control law as a sliding
mode control law. In the next two sections we explain
the basic ideas by using an example. In Section 8
we give some preliminaries for the problem of self-
adaptation, leaving for a next paper a more detailed
mathematical formalization. We conclude the paper
by Section 9.
2 COHERENCE AND GOAL
CODING
The flat hierarchical (one-level) SoSs do not benefit
from an external supervisor, instead, some agents, the
”leaders” or ”managers”, have the authority to control
indirectly the whole dynamics by directly controlling
the entities they interact with. A ”leader” may in-
fluence ”ordinary” agents but remains insensitive to
them. A leader agent has its own dynamics that can be
prescribed or modified only by an external source. For
example, for a task of collecting objects, if the work-
ing area is to be changed a leader should decide when
and where to move next the whole group of agents.
Obviously, by concatenating many flat hierarchies a
multi-level hierarchy could be obtained. If the ”lead-
ers” embedded on a level of the hierarchy are given
references from a higher level, then the decision from
the higher level is refined at the lower level.
When designing SoSs the following four issues are
important: 1. How to represent the agent behaviour
by a comprehensive model;2. How to model the goal
to be accomplished by the SoS; 3. How to model the
interactions;4. How to infer the appropriate decision
so that eventually the SoS achieves the goal.
Two observations are in place here. First, inside
a SoS the agents functionality is often different. An
example taken from the RoboCup game shows that a
goalkeeper and a player obey different assignments
of the defend-attack protocol. Secondly, a SoS is
composed of many different entities, some of them
- the active entities or agents - are able to take deci-
sions, some of them - the passive entities - just influ-
ence the decisions taken by the active entities. Ex-
amples of passive entities are: landmarks, obstacles,
queues, (non-intelligent) targets on the military field,
ball, gate (RoboCup), interrogated global data-bases.
Despite the difference in their protocol and the type
of passive entities the SoS consists of, the agents have
to implement a (decentralized) decision making pro-
cess that guarantees the SoS coherence. The (coordi-
nation) coherence of a SoS is related to its ability to
reach the goal state or to accomplish the given task.
Generally, the goal state is given as a set of predi-
cates on some of the SoS entities - the tactical entities.
For example, if a SoS contains agents, obstacles and
landmarks the specifications related to the target for-
mation are given only with reference to agents and
landmarks but not to obstacles. It is intuitive that
in a general sense the formation can be stated as a
collection of relations, R
ij
, among the tactical enti-
ties. Thus, the ultimate goal the SoS should achieve
could be coded into the SoS structure through a tar-
get formation, that imposes the desired relations, R
d
ij
,
among the tactical entities.
Beside the ultimate goal of a problem it might be
necessary to impose partial goals or strategies for each
agent. From a mathematical point of view these are
restrictions imposed to the agents behaviour. Partial
goals are often dealing with some order relations and
generally they require sub-plans in order to be ac-
complished. For example, the ultimate goal for the
RoboCup game may be coded as a zero distance be-
tween the ball and the adversary’s gate. The partial
goals are related to the game strategy. Note, for ex-
ample, that if the ball is surrounded by many players
from both teams, a strategy should be defined so that
the ball is made attractive only for two adverse play-
ers and repulsive for all the others.
The interactions among entities may be described
mathematically by relations among them. If the ulti-
mate goal is coded into the SoS structure as a target
formation the decision making system should always
minimize the misfit measure (e
ij
, q
e
ij
) = R
d
ij
³ R
ij
between the desired, R
d
ij
, and actual, R
ij
relations;
³ stands for a comparison operator. Stated in this
manner, the SoS problem of goal achieving resembles
the well-known regulator (tracking) problem from the
control systems theory if R
d
ij
are time invariant (time-
varying). Moreover, the coherence concept defined
for SoSs becomes equivalent to the stability concept
from control systems theory. Thus, if the dynamical
system of the misfit measure is stable and converges
towards the origin, the SoS behaves coherently and
consequently, the goal is achieved. When the com-
munication among agents is only partial, the ”partial
information control” can be stated as given by the ro-
AGENTS COORDINATION IN FLAT HIERARCHICAL SOCIETY-ORIENTED SYSTEMS
77
bust control framework that is formalized by the con-
trol theory.
3 THE MODEL OF THE AGENT
From a philosophical point of view, in our approach
the agent consists of three functional components:
Eye, Mind and Body.
The Eye has the functionality of some generalized
sensors, that is the unification of physical and logi-
cal sensors. Therefore, the Eye stands for the ability
to detect, perceive or ”see” the neighboring entities.
Like in (Cistelecan, 2004a) the agents are allowed to
”see” each other when some conditions are met and
the pooling of the required conditions is the task of
the generalized sensors. The conditions are given in
relation to the misfit measure (e
kj
, q
e
kj
) between the
entities k and j:
(e
kj
, q
e
kj
) = (g
1
(x
k
, q
k
, x
j
, q
j
, w
kj
, q
d
kj
),
g
2
(x
k
, q
k
, x
j
, q
j
, w
kj
, q
d
kj
))
(1)
where g
1
and g
2
are polynomials and the target for-
mation is described through R
d
kj
= (w
kj
, q
d
kj
).
We can notice that the scheduling system - dynam-
ical and distributed - is intrinsic to our control frame-
work: as soon as a generalized sensor fires, the syn-
chronization (communication) with the perceived tac-
tical entity (agent, respectively), may be initiated.
The Ag
k
s Eye may be as follows:
z
+
k
= Z
k
(z
k
, e, q
e
, δ) p
k
(t) = P
k
(e, q
e
, z
k
, δ)
(2)
where (e R
n
, q
e
(Z/
pZ
)
l
) is the misfit measure
gathered from all SoS entities and q
e
is a vector of
variables in the Galois field with p elements {0, ..., p
1}, with the usual multiplication and addition modulo
p, where p is prime, (Gunnarsson and Plantin, 1998).
It is possible to introduce temporal relations
through ”clock” variables. Two temporal relations of-
ten used in distributed systems are ”agent k commu-
nicates with agent j within δ
t
time units and ”agent k
does some activity after agent j completes some ac-
tivity”. For the first example, if the communication
is controlled through the ”clock” variable q
clk
, the
logical error variable in the form q
e
= δ
t
q
clk
or
q
e
= min{δ
t
, q
clk
} should influence any other vari-
able involved in the communication process. For the
second example, a possibility is through the following
variables:
q
e
k
= o
j
; z
+
k
= Z
k
(z
k
, q
e
k
); p
k
= z
k
where o
j
is a binary signal that informs Ag
k
about the
state of activity performed by Ag
j
, and Z
k
should be
interpolated from the table that describes the possible
histories of the variables o
j
and z
k
.
The Mind implements the interaction among enti-
ties and also the planning activity. This component
is mathematically modeled as a sliding manifold to-
gether with a method for adjusting the structure of the
sliding manifold. The planning capability is due to
embedding of the logic components into the sliding
manifold. The partial goals, strategies and sub-plans
are coded into the sliding manifold.
As defined in the control systems theory the slid-
ing mode control is implemented for a continuous dy-
namical system ˙x = f(x, u), x R
n
, u R
m
as
the following discontinuous control law: u
i
= u
+
i
(x)
if s
i
(x) > 0 and u
i
= u
i
(x) if s
i
(x) < 0, where
s
i
(x) = 0 is the sliding manifold for the control law
u
i
and i = 1, .., m. The stability of the dynamical
system is guaranteed by either the reaching condition
s
i
˙s
i
< 0, i = 1, .., m or the Lyapunov type condition
P
i
d
i
s
i
˙s
i
< 0, d
i
> 0. The sliding mode regime is
described by s
i
(x) = 0.
In the proposed framework the decision is taken, as
is customary in the conventional sliding mode control,
so that the system state approaches the sliding mani-
fold and through it the goal state. The Mind adapts
the structure of the sliding manifold and the control
law according to the environment, as will be detailed
in Section 8. The Ag
k
s Mind is modeled as a sliding
manifold that aggregates the two vectors that consist
of e
kj
and q
e
kj
. We assume the sliding manifold on
the following form:
s
k
(t) =
P
N
k
j=1
c
kj
S
kj
(e
kj
, q
e
kj
) =
=
P
N
k
j=1
c
kj
h
kj
(q
e
k
)e
kj
= 0
(3)
where q
e
k
Z
p
[q
e
kj
...q
e
ki
...] and N
k
is the number
of entities perceived by Ag
k
. The coefficients c
kj
are
estimated in the off-line design stage so that the whole
dynamics is stable. The mappings h
kj
: (Z/
pZ
)
l
k
Z are also estimated off-line so that the sliding man-
ifolds implement the required strategies or sub-plans.
The mappings h
kj
should make the entities j attrac-
tive/ repulsive to some degree for Ag
k
.
The Body stands for the action the agent has to
take. Actions may be motion related like in robotics
but they may also be in the form of message commu-
nications or data-bases interrogation, e.t.c. The Ag
k
s
Body aggregates a continuous part and a logical part,
as follows:
˙x
k
= F
1
k
(x
k
, q
k
, u
k
, v
k
) q
+
k
= F
2
k
(x
k
, q
k
, u
k
, v
k
)
(4)
where F
1
k
and F
2
k
are vectors of polynomials, u
k
and v
k
are the control variables for the continuous and
discrete dynamics, respectively, x
k
R
n
k
, and q
k
(Z/
pZ
)
l
k
is a vector of variables in the Galois field.
The passive entities dynamics is as given in (4), with
u
k
(t) = 0 and v
k
(t) = 0.
ICINCO 2004 - INTELLIGENT CONTROL SYSTEMS AND OPTIMIZATION
78
4 NEIGHBORHOODS,
ALLIANCES AND COALITIONS
Since in the technological world ”intelligence” is a
synonym for ”complexity solver”, when referring to
SoSs the equivalence between intelligent behaviors
and DES / hybrid systems is not exactly true. The
so called ”understanding of a new situation” or ”re-
fining the knowledge” are not implicitly modeled
into the DES / hybrid system framework unless the
agents are enriched with some further abilities. These
abilities should imply robustness and consequently
they should require that the SoS behave appropriately
when faced with tasks and situations that were not ex-
plicitly considered during the off-line design. There-
fore, the agents have to ”adjust” their behaviours ac-
cording to the real, actual situation. For example,
when the task of some agents is to collect objects /
consume resources the number of objects / resources
is not exactly known, in advance, during the off-line
design stage. Siltt, it is obvious that the appearance /
disappearance of entities (objects, agents, processes,
tasks) is strongly related to coherence. For these
cases, a wise SoS should behave coherently while
adapting on-line some of its parameters. We refer to
this problem in Section 8.
We introduce some concepts that help us explain-
ing the manner the agents self-adjust their behaviour
as a function of the environment. Using the Eye
component the δ-neighborhood, of an agent Ag
k
,
N
δ
{Ag
k
}, is defined as the set of the entities that
are perceived by the agent Ag
k
at the time t. The
vector δ contains the firing thresholds of the gener-
alized sensors. Since both the number and type of
entities that an agent perceives are non-deterministic,
it is hard to imagine at the design time all the possi-
ble configurations of a neighborhood. On the other
hand, there are some special situations, related to the
required strategies or special orders of actions that
should be taken into account at the off-line design
stage. This special situations are described through
special neighborhoods that we call either alliances or
coalitions depending on the team concept. Inside a
team the agents collaborate for solving a problem.
Therefore, for single-team-like SoSs, such as robots
collecting objects, resource allocation problems, dis-
tributed sensor networks, fault-tolerant software sys-
tems, our framework works with alliances. Given for
a minimal or strategic neighborhood, the δ-alliance
of an agent Ag
k
, A
δ
{Ag
k
} is defined as the set of
the tactical entities that are perceived by the agent
Ag
k
. For multi-adverse-team-like SoSs such as the
RoboCup or CaptureTheFlag games, multi-team mili-
tary operations, immune systems, beside alliances our
framework works with coalitions. A coalition is de-
fined as the set of tactical entities coming from all
teams. The concepts of alliance and coalition are in-
tended to be used in the off-line design stage in or-
der to get a nominal control system from the problem
specifications. The nominal control system should be
seen here as a ”minimal” (or abstracted) control sys-
tem derived off-line for alliances and coalitions, that
may be extended on-line in order to deal with neigh-
borhoods. The Mind component is responsible for ex-
panding the control given for an alliance / coalition to
the control required by a neighborhood.
Similar to (Cistelecan, 2004a), in the proposed con-
trol framework, the agents are coordinated through
sliding manifolds. Since the agents functionality is
limited to a limited horizon by the Eye component,
the SoS dynamics emerges as an autonomous switch-
ing system. The switching depends on the envi-
ronment and for this reason no switching ordering
should be imposed by the off-line design. Note that
the sub-plans interleaving is equivalent to switching
through neighborhoods, changing alliances or tradi-
tionally said, mode switching. Moreover, the slid-
ing manifolds are tools for the ”negotiations” ac-
complishment. Since each agent is allowed to inter-
act only with its neighbors, the negotiation of each
agent is based on its local perspective like in AI-
based approaches. The importance of a temporary
alliance and the difficulty to regulating threads of ma-
chine intermingled agents as they form and disolve
is observed also by (Klavins and Koditschek, 2000).
Concepts like ”overlapping coalitions of agents” and
”each agent negotiates based on its local perspective”
are also defined in (Sims et al., 2003).
5 THE CONTROL LAW DESIGN
In the proposed SoS, the decision an agent should
take is given by a sliding mode control law. The con-
trol system is transformed into a dynamical polyno-
mial system. Using tools from differential algebra the
specifications given, both for the continuous dynam-
ics and logical components, are aggregated. Sliding
mode for hybrid systems was already formalized in
(Dogruel et al., 1996). Polynomial dynamical sys-
tems have already been used to model and / or con-
trol hybrid systems, (Forsman, 1994), (Marchand and
LeBorgne, 1998), (Gunnarsson and Plantin, 1998).
Sliding mode control design using tools from differ-
ential algebra is given in (Fortell, 1995).
The decision making system uses a sliding mode
control law, as follows:
u
k
= K
1
k
(e
k
, q
e
k
)tanh(s
k
)
v
k
= K
2
k
(e
k
, q
e
k
)tanh(s
k
)
(5)
The dynamical system of the misfit measure for the
SoS is as follows:
˙e = F (e, q
e
, u, v) q
+
e
= µ(e, q
e
, u, v)
(6)
AGENTS COORDINATION IN FLAT HIERARCHICAL SOCIETY-ORIENTED SYSTEMS
79
where u = [u
k
]
k=1..N
, v = [v
k
]
k=1..N
and N is
the number of agents. The system (6) was obtained
by appending the dynamics of the misfit measure
[
˙e
k
q
+
e
k
] for all N agents and also the algebraic
constraint given by the overlapping variables.
The nominal SoS structure (see Section 4) is devel-
oped off-line. The decentralized control laws and the
sliding manifolds are estimated off-line so that when
they work together on-line the coherence of the SoS is
guaranteed. The algebraic framework has been cho-
sen in order to get a parametric control solution. The
concepts of alliance and coalition are used in the off-
line design stage in order to get the nominal control
system from the problem specifications. The Mind
component adds, on-line, extra-terms both to the slid-
ing manifolds and control laws while coherence is
preserved.
Note that the error vector in (6) contains both con-
tinuous and logical variables. Since we are interested
in a possible practical implementation of the proposed
control system using available computational tools,
we choose to transform the non-homogeneous error
vector into a homogeneous one containing only con-
tinuous time variables. This is possible by a transfor-
mation of the error vector as follows:
£
˙e q
+
e
¤
˙ω
T
= [
˙e ˙q
e
˙p
]
ω
T
= [
e q
e
p
] =
£
ω
1
ω
2
ω
3
¤
= [
[ω
1
k
] [ω
2
k
] [ω
3
k
]
]
k=1,..,N
(7)
where a logical variable z
+
given as z
+
= Z(z, e)
is replaced by the continuous time derivative ˙z =
(Z(z, e) z)p, p = σ((Z(z, e) z)
2
), and σ(x) is
the sigmoid function. Thus, the off-line design works
not with (6) but with the polynomial system:
˙ω = f (ω, u, v) (8)
For the nominal SoS structure the Lyapunov function
is chosen in the following form:
V
A
(ω, η) = (s
A
)
T
P (η)s
A
+ K
T
1
K
1
+ K
T
2
K
2
(9)
where:
K
T
i
= [K
i
k
(ω
k
i
)]
k=1,N
, i = 1, 2,
(s
A
)
T
= [s
A
1
(ω
1
), ..., s
A
N
(ω
N
)]
(10)
N is the number of agents, and s
A
k
, as given by (3), are
constructed for alliances (and coalitions). The super-
script A stands for alliance in a generic sense. More
precisely, the nominal SoS structure should work with
many different alliances: A
1
,..., A
s
. Each alliance A
j
induces a different manifold s
A
j
k
. We assume that for
the set {s
A
1
k
,..., s
A
s
k
} there exists a generic s
A
k
where
polynomials S
kj
are gathered from all s
A
1
k
,..., s
A
s
k
.
Then, for each alliance the sliding manifold is ob-
tained by deleting some terms from the generic slid-
ing manifold, s
A
k
.
6 EXAMPLE: AGENTS
COLLECTING OBJECTS
In this section we show through an example that the
sliding manifolds can be used as tools for accomplish-
ing cooperation and collaboration in SoSs. We mean
by collaboration an explicit exchange of information.
For a group of agents collecting objects, the ulti-
mate goal could be coded as a zero distance between
any agent and any object (no object on the field) and,
in order to assure the coverage of the whole area, a
given distance among agents. The ultimate goal is
given through R
d
kj
, as follows:
(BT
k
= F
V
BT
j
= F )
V
V
(BK
k
= E
V
BK
j
= E)
V
V
(¬CO
k
V
¬CO
j
)
V
(ρ
a
kj
= ρ
a
jk
= w
kj
)
(11)
where k, j = 1, .., N, k 6= j, N is the number of
agents, BT , BK stand for the battery and basket, re-
spectively, ρ
a
jk
and w
jk
are the actual and desired dis-
tances between agents k and j, and ¬CO stands for
’no object on the field’. As an example, we assume
that the battery and basket may be full (F/2), empty
(E/0) or nonempty (NE/1).
Since each agent has to collect many objects, the
agent should reason about the order of approaching
the objects. It is intuitive that this order should be
based on the distances between agents and objects,
ρ
o
kj
, but sometimes some other important considera-
tions change this order. For example, note that the ul-
timate goal can be accomplished only if some passive
entities like reloading-stations (RS) and storehouses
(SH) are introduced into the SoS. Thus, the battery
can be loaded if it is empty and the basket can be
cleared when it is full. When the battery is empty
or the basket is full the agent must go to RS or SH
respectively, ignoring the objects that are on its way.
On the other hand, a well designed SoS should allow
the agent, in non-critical situations, to charge its bat-
tery or clear the basket, while collecting the objects
encountered on its way. Moreover, the collaboration
among agents should allow a change of the order the
objects are collected.
If the actions required by agents are: collect ob-
jects (CO), keep distance from agents (KD), approach
agent (AA), approach reloading-station (AR), ap-
proach storehouse (AS), look for a RS (?RS), look for
a SH (?SH), some of the rules that have to be wired
into the sliding manifolds are the following:
(BT = F, BK = E) (CO, KD)
(BT = NE, BK = E) (CO, KD, ?RS)
(BT = NE, BK = NE)
(CO, KD, ?RS, ?SH)
(BT = E) (?RS, AR, AA/AR)
(BK = F ) (?SH, AS, AA/AS
(12)
ICINCO 2004 - INTELLIGENT CONTROL SYSTEMS AND OPTIMIZATION
80
where AA/AR and AA/AS have the meaning: ap-
proach the RS or SH that is in the neighborhood
of another agent. When q
RS/SH
req
= 1 Ag
k
asks the
neighboring agents (if any) if there is a RS/SH in
their neighborhood. If the answer is positive, q
+
ack
=
1 and e
+
ack
is given the smallest distance to an agent
that has the RS/HS in its neighborhood. Otherwise
q
+
ack
= 0 and Ag
k
starts to wander based on a given
constant $.
If the logical state of an agent implies (BT =
NE, BK = N E) and both RS and SH are in
the N
δ
{Ag
k
} some logical variables q
RS/SH
e
kj
=
G
k
(BT, BK, v
k
) (Z/
3Z
), decide an order of ap-
proaching the entities. We give a simpler, but not so
flexible, solution to this case in the next section.
The agents may implement a collaboration if they
are willing to help each other in collecting objects.
In order to implement collaboration each agent Ag
k
should estimate a logical error variable q
coll
e
kj
=
max(q
k
, q
j
), where the value of q
j
should be com-
municated by Ag
j
, as it is not visible. The variable q
k
that should be appended to the Ag
k
s Body:
˙x
k
= Ax
k
+ Bu
k
, A R
2×2
, B R
2×1
(13)
is as follows:
q
k
: (Z/
3Z
)
3
(Z/
3Z
)
q
+
k
= Q
k
(W E, BT, BK)
(14)
where W E is related to the number of objects in
N
δ
{Ag
k
} and stands for the working effort (0 - no
object to collect, 1 - a reasonable number of objects,
2 - many objects to collect). A possible assignment
for q
k
is as follows: Q
k
(0, 2, 0) = 0, Q
k
(1, 2, 0) = 1,
Q
k
(0, 2, 1) = 1, Q
k
(2, 2, 3) = 2, Q
k
(2, 2, 0) = 2,
where
q
k
= 0 means Ready&ReadyT oHelp
q
k
= 1 means
"
NotReady&
DoNotNeedHelp&
CouldHelp
#
q
k
= 2 means NotReady&N eedHelp
If the sliding variable s
k
is made dependent on q
coll
e
kj
the agents may agree to collaborate.
The sliding manifold implementing these rules for
the N
δ
{Ag
k
} is as follows:
s
k
(t) =
P
j
c
o
kj
h
o
kj
e
o
kj
+
P
j
c
a
kj
h
coll
kj
e
a
kj
+
+
P
j
c
RS/SH
kj
h
RS/SH
kj
e
RS/SH
kj
+
P
j
c
a
kj
h
a
kj
e
a
kj
+
+h
ack
1
e
RS/SH
ack
+ h
ack
2
$ = 0
(15)
where: h
kj
: (Z/
pZ
)
l
k
Z, e
kj
is the error be-
tween Ag
k
and the entity j that belongs to N
δ
{Ag
k
},
c
kj
are the sliding mode coefficients, the superscripts
”o”, RS/SH and ”a” stand for objects, RS/SH
and agents, respectively. The order of approaching the
neighboring entities is controlled through the map-
pings h
kj
that depend on some logical variables q
e
k
.
Moreover, if an agent is willing to give some help
only after ”sleeping” for δ
t
minutes then a logical er-
ror variable depending on the ”clock” variable should
influence the mappings h
coll
kj
.
7 AGENTS MAKING SUB-PLANS
The ordering relations, strategies and sub-plans are
wired into the sliding manifolds during the off-line
design stage. The mappings h
kj
are estimated for al-
liances during the off-line stage. Let us assume that
Ag
k
is in a logical state characterized by (BT =
NE, BK = NE) and its neighborhood consists of a
RS, a SH and an object: A
δ
{Ag
k
} = {RS, SH, o}.
A coherent behaviour of the agent would imply a se-
quence of plans so that if, for example, at the begin-
ning it is closer to RS than to SH it heads to the RS
while collecting the objects it encounters on its way.
In order to explain how sub-plans are constructed we
assume a set of sub-plans {P 1, P 2, P 3} that stands
for the following configurations (partitions):
C
1
|e
o
| < |e
RS
| < |e
SH
| P 1
C
2
|e
RS
| |e
o
| |e
RS
| < |e
SH
| P 2
C
3
|e
RS
| > |e
SH
| e
o
= 0 P 3
(16)
where e
RS
, e
SH
, e
o
are the errors between Ag
k
and
RS, SH and object, respectively. In order to track the
change of configuration some logical variables should
be appended to the Ag
k
s Body, as follows:
q
k
1
` |e
RS
| |e
SH
|; q
k
2
` |e
o
| |e
SH
|;
q
k
3
` |e
RS
| |e
o
|; [BK = 2]; [BT = 2]
(17)
where stands for {>, <, =} and q
k
i
Z/
3Z
. For
the configuration C
1
the sub-plan P 1 implements an
aggregated movement towards the RS and object. If
this movement does not disrupt the movement closer
to the RS then the object is collected. After the object
was collected, if the evaluation of the field shows that
the distance to RS is higher than the distance to SH
then, a switch from P 1 to P 3 is done. On the other
hand, if the movement closer to the object implies at a
moment that the agent gets farther from the RS then
the sub-plan P 2 should replace P 1. The switching
among sub-plans is required when a divergent move-
ment of the sliding variable is encountered. For ex-
ample, when the agent starts to go away from the RS
while approaching the object the sliding mode reach-
ing condition s
k
˙s
k
< 0 should not be fulfilled any
longer. Consequently, a new sub-plan is required in
order to correct the agent dynamics by implement-
ing a repulsive field around the object. Notice that
for each sub-plan the stable sliding mode dynamics
AGENTS COORDINATION IN FLAT HIERARCHICAL SOCIETY-ORIENTED SYSTEMS
81
should implement a movement of the system closer
to the goal. For the configurations given above the
sliding manifolds should be implemented on the fol-
lowing form:
P 1 :: s
k
= X
RS
a
e
RS
+ X
o
a
e
o
+ X
SH
r
e
SH
= 0
P 2 :: s
k
= X
RS
a
e
RS
+ X
o
r
e
o
+ X
SH
r
e
SH
= 0
P 3 :: s
k
= X
RS
r
e
RS
+ X
SH
a
e
SH
= 0
(18)
where X
a
, X
r
stand for the variables that induce an
either attractive or repulsive movement, respectively.
Note that X
a
, X
r
are generic coefficients that repre-
sent multiplications of the mappings h
kj
by the slid-
ing mode coefficients c
kj
.
A quantified formula written in the theory of reals
(Jirstrand and Glad, 1997) can describe the switching
of sub-plans. For example, the transition P 1 7→ P 2
can be described, as follows:
e
RS
1
, e
SH
1
, e
o
1
[δ, δ],
e
RS
2
, e
SH
2
, e
o
2
[δ, δ], e
RS
3
, e
SH
3
, e
o
3
[δ, δ],
ϕ |=
((s
k
1
> 0 C
1
) (s
k
2
> 0 C
2
s
k
2
> s
k
1
))
((s
k
1
< 0 C
1
) (s
k
2
< 0 C
2
s
k
2
< s
k
1
))
(s
+
k
2
> 0 s
k
3
> 0 s
+
k
2
> s
k
3
s
+
k
2
< 0 s
k
3
< 0 s
+
k
2
< s
k
3
s
+
k
2
s
k
3
< 0)
(19)
where
s
k
(t
1
) = s
k
1
= X
RS
a
e
RS
1
+ X
o
a
e
o
1
+ X
SH
r
e
SH
1
s
k
(t
2
) = s
k
2
= X
RS
a
e
RS
2
+ X
o
a
e
o
2
+ X
SH
r
e
SH
2
s
+
k
(t
2
) = s
+
k
2
= X
RS
a
e
RS
2
+ X
o
r
e
o
2
+ X
SH
r
e
SH
2
s
k
(t
3
) = s
k
3
= X
RS
a
e
RS
3
+ X
o
r
e
o
3
+ X
SH
r
e
SH
3
(20)
where the variables X
a
= c
A
h
a
(C) = c
A
k
a
ζ
a
(C)
and X
r
= c
A
k
r
h
r
(C) = c
A
k
r
ζ
r
(C), ζ
a
(C) = 1,
ζ
r
(C) = 1, c
A
are the sliding mode coefficients
that should be estimated in the off-line design stage
so that the dynamics of the whole distributed system
is stable. The variables k are estimated from the re-
lation that results after the quantifier elimination and
cylindrical algebraic decomposition act on (19).
If a neighborhood contains two objects instead
of one object as was wired into the sliding mani-
fold using the alliance given above, N
δ
{Ag
k
} =
{RS, SH, o1, o2}, the variables X
a
and X
r
change
their values only because of the new computed slid-
ing mode coefficients, bc, as will be shown in Section
8. The new sliding manifold used by the agent Ag
k
in
order to accomplish its goal is as follows:
s
k
(t) = bc
RS
k
RS
ζ
RS
(C)e
RS
+ bc
o1
k
o1
ζ
o1
(C)e
o1
+
+bc
o2
k
o2
ζ
o2
(C)e
o2
+ bc
SH
k
SH
ζ
SH
(C)e
SH
(21)
When the problem specifications require that every al-
liance contain at least two agents, the alliance given
above has to be changed so that the most stringent
condition is that the two agents perceive each other.
Therefore, the sliding manifold for the agent Ag
k
must contain a term referring the distance between
the two agents. The peer agent may be attractive or
repulsive like any other entity in the neighborhood
of Ag
k
. From the above given analysis it is obvi-
ous that the mappings ζ(C) are very important. Still,
their computation is not trivial and we have to in-
vestigate this topic thoroughly. An important fea-
ture of the mappings ζ(C) is that they have to cap-
ture a given order of the logical variables. For exam-
ple, if we study an alliance of the form A
δ
{Ag
k
} =
{RS, SH, o1} the mappings should be computed us-
ing the following ordering for the logical variables:
BT Â BK Â {q
k
1
, q
k
2
, q
k
3
} The importance de-
gree of {q
k
1
, q
k
2
, q
k
3
} depends on the configuration
and therefore it should be properly revealed by the
mappings h
kj
.
8 ON-LINE SELF ADAPTATION
When dealing with neighborhoods the following Lya-
punov function should be considered:
V
N
(ω, η) = V
A
+ V
r
=
= (s
N
)
T
P (η)s
N
+ (K
N
1
)
T
K
N
1
+ (K
N
2
)
T
K
N
1
(22)
where: s
N
= s
A
+ s
r
and s
T
r
= [s
r
k
(ω
k
)]
k=1,..,N
is
a vector of polynomials. It is to be noticed that there
exist a difference in the energy given by the Lyapunov
functions in the cases of alliances and neighborhoods.
This is due to the entities the neighborhoods con-
tain but alliances do not. Therefore, the off-line de-
sign provides a control law that can be extended on-
line so that to take into account all the entities of a
neighborhood. The extension is possible because of
a reserve of energy that is foreseen for a neighbor-
hood in relation to the generic alliance. The control
laws for an alliance and a neighborhood are: u
A
k
=
K
1
k
(ω
k
)tanh(s
A
k
), v
A
k
= K
2
k
(ω
k
)tanh(s
A
k
), u
N
k
=
K
N
1
k
(ω
k
)tanh(s
N
k
), v
N
k
= K
N
2
k
(ω
k
)tanh(s
N
k
),
K
N
1
k
= K
1
k
(ω
k
) + k
u
r
k
(ω
k
), K
N
2
k
= K
2
k
(ω
k
) +
k
v
r
k
(ω
k
), with K
i
k
(0) = 0, i=1,2, k
u
r
(0) = 0,
k
v
r
(0) = 0, where k
u
r
= [k
u
r
k
]
k=1,..,N
,k
v
r
=
[k
v
r
k
]
k=1,..,N
should be estimated.
We proceed similar to (Forsman, 1998). We re-
fer in the following to four regions,
A
(η),
N
(η)
and B
A
(η), B
N
(η), defined as follows:
A
(η) =
{ω|Q
A
(ω, η) 0},
N
(η) = {ω|Q
N
(ω, η) 0},
B
A
(η) = {ω|V
A
(ω, η) V
N
(ω, η)}, B
N
(η) =
{ω|V
N
(ω, η) d}
Q
A
=
V
A
s
A
˙s
A
+ K
T
1
K
1
ω
˙ω + K
T
2
K
2
ω
˙ω
Q
N
=
V
N
s
N
˙s
N
+
+
³
(K
N
1
)
T
K
N
1
ω
+ (K
N
2
)
T
K
N
2
ω
´
˙ω|
u
N
k
,v
N
k
(23)
ICINCO 2004 - INTELLIGENT CONTROL SYSTEMS AND OPTIMIZATION
82
Stability implies: B
A
(η)
A
(η), B
N
(η)
N
(η), B
A
(η) B
N
(η),
A
(η)
N
(η). The
design has as a primary objective to find polynomi-
als relating c
kj
, d and η by examining the following
ideals for all switching systems that are derived from
alliances A
i
:
ϑ
1
=< V
A
V
N
, Q
A
, g
A
1
, ..., g
A
n
>
ϑ
2
=< V
N
d, Q
N
, g
N
1
, ..., g
N
n
>
ϑ
3
=< (ω
2
1
)
q
ω
2
1
, ..., (ω
2
l
)
q
ω
2
l
>
(24)
where g
A
i
=
V
A
ω
i
λ
Q
A
ω
i
, g
N
i
=
V
N
ω
i
λ
Q
N
ω
i
and ω
2
= [
ω
2
1
... ω
2
l
] is as in (7). The Grobner
basis for the ideal
˜
ϑ = ϑ
1
+ ϑ
2
+ ϑ
3
, with the alge-
braic restrictions related to the overlapping variables,
is computed w.r.t. the following ranking:
d {η} {c
kj
} ω
{s
r
} {K
i
k
} {k
r
} {λ}
(25)
and the restrictions s
r
k
R[ω
k
, η, c
k
, d], K
1
k
, K
2
k
R[ω
k
, η, c
k
, d, s
r
k
], k
u
r
k
, k
v
r
k
R[ω
k
, η, c
k
, d, s
r
k
],
The self-adaptation is performed by extending al-
liances to neighborhoods, using the variables k
r
and
s
r
. This extension means to implement a stable dy-
namics in the state space ω
N
using the stable dynam-
ics in the state space ω, ω 7→ ω
N
= [
ω ˆω
]. The
Mind component has to find the components ˆc
k
=
φ
1
(c
k
, s
r
k
) and the control functions
ˆ
K
i
k
(ω
N
k
) =
φ
2
i
(K
i
k
(ω
k
), k
r
k
, ω
N
k
), i=1,2. The sliding manifolds
s
A
k
, with off-line computed c
kj
are extended on-line
to the sliding manifolds s
N
k
where:
s
A
k
=
P
N
A
k
j=1
c
kj
S
kj
(ω) = 0
s
N
k
=
P
N
k
j=1
ˆc
kj
(c
kj
, s
r
k
)
ˆ
S
kj
(ω
N
) = 0
(26)
The control gain (K
1
k
(ω
k
), K
2
k
(ω
k
)) should be ex-
tended on-line to depend on ω
N
k
, as follows:
(K
1
k
(ω
k
), K
2
k
(ω
k
)) 7→
7→ (
ˆ
K
1
k
(ω
N
k
, k
r
k
),
ˆ
K
2
k
(ω
N
k
, k
r
k
))
(27)
We will approach this extension into a future paper.
9 CONCLUSIONS
The proposed framework is intended for developing
control systems for distributed systems. The control
law is designed in order to implement a coherent co-
ordination for a SoS while the dynamics is constraint
by sub-plans. The agents have the ability of self-
adaptation because they are able to change the sliding
manifolds that are parts of the decision making pro-
cess.
REFERENCES
Antsaklis, P. I. and Passino, K. M. (1993). An Introduc-
tion To Intelligent and Autonomous Control. Kluver
Academic Publisher.
Cistelecan, R. (2004a). Dynamic networks: Decentralized
control and feasibility. In Sci. Bull. of Politehnica
Univ. of Timisoara, Romania, Vol.49(63),121-127.
Cistelecan, R. (2004b). Flat hierarchical society-
oriented systems and agents coordination. In Sci.
Bull. of Politehnica Univ. of Timisoara, Romania,
Vol.49(63),115-121.
Dogruel, M., Ozguner, U., and Drakunov, S. (1996).
Sliding-mode control in discrete-state and hybrid sys-
tems. In IEEE Trans. on AC, vol. 41, no. 3 , 414-419.
Fisher, M. and Wooldridge, M. (2003). A logical approach
to simulating societies,1-14. In G.N. Gilbert and R.
Conte (eds), Artificial Societies: the computer simula-
tion of social life, UCL Press, London.
Forsman, K. (1994). Hybrid control systems and compre-
hensive grobner bases. In Tech. Report, Automatic
Control, Linkoping.
Forsman, K. (1998). Constructive algebraic geometry in
nonlinear control. In 29th IEEE CDC.
Fortell, H. (1995). Algebraic approaches to normal forms
and zero dynamics. In Ph. D. Thesis, Linkoping Univ.
Gunnarsson, J. and Plantin, J. (1998). Synthesis of a dis-
crete system using algebraic methods. In WODES96.
Jirstrand, M. and Glad, T. (1997). Computationl questions
of equilibrium calculation with application to nonlin-
ear aircraft dynamics. In Tech. Rep., Linkoping Univ.
Klavins, E. and Koditschek (2000). A formalism for the
composition of concurent robot behaviors. In Proc. of
ICRA,3395-3402.
Marchand, H. and LeBorgne, M. (1998). Partial order con-
trol of discrete event systems modeled as polinomial
dynamical systems. In IEEE Int. Conf. on Systems,
Man and Cybernetics, 770-775.
Ortiz, C., Hsu, E., and DesJardins, M. (2001). Incremen-
tal negotiation and coalition formation for resource-
bounded agents. In Proc of AAAI Fall Symposium on
Negotiation Methods for Autonomous Coop. Syst.
Sen, S. and Dutta, P. (2002). The evolution and stability of
cooperative traits. In Proc. of the First International
Joint Conference on autonomous agents and Multi-
agents systems, Italy,1114-1120.
Sims, M., Goldman, C., and Lesser, V. (2003). Self-
organization through bottom-up coalition formation,
867-874. In AAMAS’03, Australia.
Yan, P., Gao, Y., and Ozbay, H. (2003). A variable structure
control approach to active queue management for tcp
with ecn. In IEEE Trans. on Control Systems Technol.
AGENTS COORDINATION IN FLAT HIERARCHICAL SOCIETY-ORIENTED SYSTEMS
83