Petri Net-Based Modeling and Simulation of A Hybrid Manufacturing System
Petri Net-Based Modeling and Simulation of A Hybrid Manufacturing System
Petri Net-Based Modeling and Simulation of A Hybrid Manufacturing System
net/publication/4204110
CITATIONS READS
2 58
3 authors, including:
Abolfazl Jalilvand
University of Zanjan
119 PUBLICATIONS 723 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Abolfazl Jalilvand on 02 June 2016.
x& 2 = f 2 ( x2 , u , t )
1. Introduction
y = g 2 ( x2 , u, t )
Hybrid systems have emerged as a technique
for modeling and analyzing a class of
autonomous control systems containing both x&1 = f1 ( x1 , u , t ) x&3 = f 3 ( x3 , u , t )
continuous-state and discrete event dynamics [1- y = g1 ( x1 , u , t ) y = g 3 ( x3 , u , t )
3]. When the continuous and discrete dynamics
coexist and interact with each other, it is
important to develop models that accurately
describe the dynamic behavior of such hybrid
systems. Many times it is not only desirable but
x& N = f N ( x N , u , t ) xx4.& == ff4 ((xx4 ,,uu,,tt))
also natural to use hybrid models to describe the 4 4 4
y = g 4 ( x4 , u, t )
dynamic behavior of systems. Many physical y = g N ( x N , u, t ) y = g 4 ( x4 , u, t )
systems are hybrid in the sense that they have
barriers or limitations. Inside the limitations they ...
are modeled with differential equations. A Figure 1: A schematic representation of a hybrid
natural way to model these systems is to use a system with N modes.
mixture of differential equations and The mode transitions may be caused by an
inequalities. Other systems have switches and external control signal, by an internal control
signal (if the controller is already included in the dynamical law until a discrete transition occurs.
system under consideration), or by the dynamics Discrete transitions are instantaneous state
of the system itself, i.e. when a certain boundary changes that separate continuous state evolutions
in the state space is crossed. The latter is [14]. Due to combination of discrete and
expressed by guard [1]. continuous behavior, hybrid systems are
In one formulation of hybrid systems the inherently difficult to analyze formally.
continuous state plant is supervised by a discrete Numerical simulation therefore plays an
event controller [10-12]. Such a hybrid system important role in the analysis of such systems.
consists of three main components: a plant, a The simulation of hybrid systems alternates
discrete event controller and an interface. The between solving differential equations
continuous process to be controlled, together numerically and making discrete transitions.
with any continuous controller, is identified as In this paper we use a special version of
plant and is often described in terms of timed Petri nets as a tool for the mathematical
differential/difference equations. In an effort to description and simulation of the behaviour of
import more intelligence and decision making hybrid systems. To simulate the Petri net model
capabilities to the system, it may be desired for a of the hybrid system a modified Petri net toolbox
rule based discrete event controller to determine is used.
the control and performance objectives of real
time plant. The interface makes it possible for 2. Hybrid Dynamical Systems
these different processes to communicate with
each other. As it is illustrated in Fig. 2 it consists As it was mentioned previously, a class of
of two main parts: the event generator and the hybrid dynamical system, commonly found in
actuator. The event generator receives the the literature, considers the tree layer structure
discrete time measurement signal of hybrid plant depicted in Fig. 2. Here we deal with this hybrid
and issues appropriate events when the state control system with more details. The
enters a new region of the state space. The continuous system plant is a three-tuple
actuator determines the control input which is S = ( X ,U , f ) , consisting of the state set, input
applied to the hybrid system. set and state transition function respectively. The
Discrete Event continuous system plant equations are [15]:
Controller x& (t ) = f ( x(t ), u (t )) (1)
~
r ( n) ~
x ( n) Where x ∈ X ⊂ ℜn and u ∈U ⊂ ℜ m .
Interface f : X × U → ℜ n is assumed to be lipschitz
actuator generator continuous. For simplicity we assume that the
continuous state x(t ) can be measured.
r (t ) x(t ) The interface equations are:
(Σ / S ) : u (t ) = γ ( r (k )) (2)
Plant
( S / Σ) : z (k ) = α( x(t ), u (t )) (3)
Figure 2: A hybrid control system. Where r ∈ ℜ , u ∈ U ⊂ ℜ and x ∈ X ⊂ ℜ n .
p m
383
IEEE --- 2005 International Conference on Emerging Technologies
September 17-18, Islamabad
384
IEEE --- 2005 International Conference on Emerging Technologies
September 17-18, Islamabad
385
IEEE --- 2005 International Conference on Emerging Technologies
September 17-18, Islamabad
t4
x<a
t1(--) & t2(-)
1
For simulation purpose we consider the
robotic manufacturing system with following 0.5
characteristics:
0
a = 0m , b = 1m , c = 5m , d = 6m , v1 = 2.5(m / s) , 0 5 10 15
time
20 25 30 35
-1
t 2 , t3 and t 4 based on their corresponding 0 5 10 15 20 25 30 35
1
dynamics. We have assumed that the state of 0
t4
all transitions we can obtain the complete Figure 9: The states of transitions.
behaviour of the hybrid system.
In this figure we define the following values for
describing the state of the transition.
386
IEEE --- 2005 International Conference on Emerging Technologies
September 17-18, Islamabad
1 : Firing of the transition finishes. [3] J. A. Stiver and P. J. Antsaklis. An invariant based
0 : The transition fires. approach to design of hybrid control systems. Int.
Journal of Robust and Nonlinear Control, Feb.
-1 : The transition doesn’t fire.
2000.
It can be seen in Figure 9 that the state “1” [4] C. J. Tomlin. Hybrid control of air traffic
appears just in an instant when an event takes management systems. PhD Thesis, Department of
place in the hybrid system. Electrical Engineering and Computer Sciences,
Figure 10 shows the marking of places. Note University of California at Berkeley, 1998.
that in our Petri net toolbox when the transition [5] E. Frazzoli. Robust hybrid control for autonomous
fires the token from each input place is removed vehicle motion planning. PhD Thesis, Department
of Aeronautics and Astronautic, MIT, 2001.
but putting a token in output place postpones [6] R. Fierro, Frank L. Lewis and Andy Lowe. Hybrid
until the firing of the transition finishes. control for a class of under actuated mechanical
systems. IEEE Trans. On Systems, Man and
1
Cybernetics, 29(6):646-654, Nov. 1999.
p1
0.5
[7] M. Egerstedt and X. Hu. A hybrid control approach
0
0 5 10 15 20 25 30 35 to action coordination of mobile robots.
1 Automatica, (38): 125-130, 2002.
p2
0.5
0
discrete model approximation. PhD Thesis,
0 5 10 15 20 25 30 35
Carnegie Mellon University, USA, 1999.
1
[10] X. D. Koutsoukos, P. J. Antsaklis, J. A. Stiver and
p4
0.5
M. D. Lemmon. Supervisory control of hybrid
0
0 5 10 15
time
20 25 30 35 systems. Proc. of IEEE, 88(7): 1026-1049, 2000.
[11] X. D. Koutsoukos and P. J. Antsaklis. Design of
Figure 10: The marking of each place in simulated hybrid system regulators. Proc. Of 38th IEEE
Petri model. Conference on Decision and Control, Phoenix, Dec.
1999, pp. 3990-3995.
[12] X. D. Koutsoukos and P. J. Antsaklis. Hybrid
6. Conclusions control of a robotic manufacturing system. Proc. Of
7th IEEE Mediterranean Conference on Control and
In this paper the modeling and simulation of automation, Haifa, Israel, June 1999, pp. 144-159.
hybrid systems with a mix of continuous states [13] A. Gambier and E. Badreddin. Application of
and discrete dynamics is investigated. For the hybrid modeling and control techniques to
desalination plants. Elsevier, Desalination, (152):
modeling purpose, an extended form of timed 175–184, 2002.
Petri net was introduced. For simulating the Petri [14] L. Chaimowicz, M. F. M. Campos, and V. Kumar.
model of hybrid systems a Petri net toolbox was Hybrid Systems Modeling of Cooperative Robots.
used with some modifications. The proposed Proceedings of the 2003 IEEE International
method is used for modeling of a robotic Conference on Robotics and Automation, Taipei,
manufacturing system where the simulation Taiwan, September 2003, pp. 4086-4091.
[15] A. Jalilvand and S. Khanmohammadi. Integrating of
results are obtained by the modified Petri net Event Detection and Mode Recognition in Hybrid
toolbox. Systems by Fuzzy Petri Net. Proc. of IEEE
Conference on Robotics, Automation and
7. References Mechatronics (RAM2004), December 1-3, 2004,
Singapore, pp. 265-270.
[16] Tado Murata. Petri nets: properties, analysis and
[1] R. K. Boel, B. De Schutter, G. Nijsse, J. M. application. Proc. of IEEE, 77(4): 541-580, April
Schumacher and J. H. van Schupoen. Approaches to 1989.
modeling, analysis and control of hybrid systems. [17] G. Ribichini, and P. Messina. Un toolbox per la
Journal A, 40(4): 16-27, Dec. 1999. progettazione la simulazione el' Analisi di Rti di
[2] W. P. M. H. Heemels, B. De Schutter and A. Petri Temporizzate. Universita Degli Studi Pisa,
Bemporard. On the equivalence of classes of hybrid Facolta di Ingegneria, 7 Marzo 2002.
dynamical systems. Proc. Of the 40th IEEE
Conference on Decision and Control, Orlando,
Florida, USA, Dec. 2001.
387