Event-Driven Model For MES Platform
Event-Driven Model For MES Platform
Event-Driven Model For MES Platform
Authorized licensed use limited to: ULAKBIM UASL ISTANBUL TEKNIK UNIV. Downloaded on January 28, 2010 at 03:17 from IEEE Xplore. Restrictions apply.
processes. For a special product, its assembly BOM model to deal with event created. The relation is shown
provides information of process assembly directory, as Figure 2. Event model is configured in production
material racks and feedings. cells with different events as planning changing event,
MES Application Suites alarm event or closedown event, and event is
Efficiency Qualify Production Web Reporter
Web Digital
Meter
connected with label. Execution model is connected
with event model, which is encapsulated with
Real-time Message Bus
operation flow script. By system modeling, connection
between events and states is constructed, so system is
Database Event Service Data able to dynamically response to process changes by
Product Model Manager Manager Manager Writer/Reader
production event.
Visual Factory Model Heterogeneous DataSource Adaptor
Modelling
Tool
Event Model SQL Server
Real-time
Historial Dtabase
OPC RS232 Ă
4. Event model for MES platform
Exectution Model
Automated Equipment/HMI
4.1. Event and related definitions
Figure 1. Structure of event-driven MES platform
Factory model is to define factory, equipments, Event is abstract description of production activities
product line and relevant organization mode. On the in assembly process, which has several forms, such as
basic of factory model, production event of product material supplying event created while supply material
process is defined. Production event is basic element to to local rack, or abstract entity as planning changing
manage production activities. Product process can be event created while planning change during assembly
controlled by production event established. process. Event is triggered while a certain or a series
Event Model is to define production event of data label change.
manufacturing process related to the Factory Model. Event attributes is description to certain
Execution model is to define production and operation characters of event. An event has multi-attributes,
rules, flow of material and information to control and
which constructs event attributes set. Let P denotes
trace manufacturing process.
attribute, then attribute set of event Ei is
3. Response mechanism based on event p ( Ei ) ^p1 , p2 ,..., pi ,..., pn ` , pi denotes the i th
In manufacturing system, production event leads attribute of event Ei . The attribute of event can be
message flow and structure change, which active and extended according to applications.
drive manufacturing system to change, thus is the Meta-event is the minimum logic unit of event
foundation to construct variable manufacturing system. partition. There exist various event related to
Information mutation between application systems and manufacturing process. some event can be composed
foundations (background services) of the MES of a basic event logic or several related basic event
platform developed is realized by event trigger. The logic, these basic event logic is namely meta-event.
event model in MES platform is to describe the Event association is to describe association
message in production as event. between event E and event E ' , which is denoted as
Product Factory Link ( E , E ' ) . If event E is directly associated to
Model Model
Visual
production event E ' , then describe as E o E ' ' . expression
“ o ” illustrates the directly association between
modeling trigger Event call
tool Model Execution
Label
trigger
Model events. If event E is not directly associated to event
Event monitor dispose E '' , but is related to event E '' via event E ' , then
feedback
event E is indirectly association to event E ' ' , marked
Data collection
Database as E E ' ' .
Infrostucture services
services and dispose
components
database Association attributes is to describe event
association characters. An event association has multi-
attributes, which construct event association attributes
set, marked as plink ( E , En ) ^P1 , P2 ,..., Pi ,..., Pn ` .
Figure 2. Response mechanism based on event
Execution model is based on Event model, which
encapsulates logic of event response to business. While
event is triggered, system services will call Execution
388
Authorized licensed use limited to: ULAKBIM UASL ISTANBUL TEKNIK UNIV. Downloaded on January 28, 2010 at 03:17 from IEEE Xplore. Restrictions apply.
4.2. Design of event model All kinds of event is able to be definite in event
configure module, event is configured to relevant
Event model includes two sub-modules: event production cells. So production activity in
configuration and event detection. The function manufacturing process is mapped with event in
structure of model is shown as Figure 3. production cells of platform.
costumed Event Class in event configure module is designed as
Event Configure follows:
Configure event to cell (1) Event_Configuration, which is main windows
Event Model Event detect template
form class of event model, provides function as
definition event configuration and binding event detect
Event Detect Configure trigger to template.
Template Configure business logic
(2) ET_Form, which is event set form class,
Binding event with
detect template display all event in database.
Figure 3. Function structure of event model (3) Event_TypeTable, which is meta-event class,
Event configuration module is to configure event and used to definite meta-event in production
to production cell. In factory model, all the production that derive other events.
equipments in production line are described with (4) Event_SubTypeTable, which is event sub-
production cell in factory model. Event is created in class, inherit from class Event_Type, and used
production equipments during manufacturing process, to definite event. Event definite is combination
so event should be configured to these production cell of several meta-events or extend of a meta-
modeled. event.
Event detect module is to configure event trigger Class in event detect module is designed as follows:
condition, and construct business logic to dispose (1) EM_Form, which is event detect template
event created. Event detect module is composed of form class, used to create, modify, delete detect
event dispose method and event trigger condition. template, and display all detect template in
Event dispose method is to describe which approaches database.
MES platform adopts to response event create. Event (2) Event_ModelTable, which is event detect
trigger condition definite the condition to create event, template class, used to definite event detect
which is related to data collected in production templates.
equipments (production variables in factory model). (3) Model_Fields, which is event detect template
If the trigger condition is meet, event management attributes class, used to save event trigger
services will call business logic in event detect module condition and business transaction logic.
to dispose event created. Event configuration flow is (4) Model_MoreInfo, which is event detect model
shown as Figure 4. Firstly, production event possibly additional info class, used to record special
occur in manufacturing cell is definite, and assign attributes of detect models.
event to the cell. The next step is to definite event
detect model for each production event assigned, then
trigger condition and dispose flow is configured.
Factory Visual modeling tool
Model
Monitor
trigger condition
Configure event to cell Event
Event
Manager
Model Assign detect model to event Services
389
Authorized licensed use limited to: ULAKBIM UASL ISTANBUL TEKNIK UNIV. Downloaded on January 28, 2010 at 03:17 from IEEE Xplore. Restrictions apply.
(WebSphere Portlet Factory), business layer is Automation, 2003. Proceedings ETFA '03. IEEE Conference,
developed with WCF (Windows Communication 16-19 Sept. 2003, 2(2): 50-57.
Foundation) services, and background database is
using Sql Server 2005. In Figure 5, set event trigger [5] Cheng F T, Teng C Y. An object-based controller for
equipment communications in semiconductor manufacturing.
condition is shown as a part of software interface. Robotics and Computer-Integrated Manufacturing, 2002,
18(5-6): 387-402.
6. Conclusions
[6] Pascal Blanc, Isabel Demongodin, Pierre Castagna. A
In this paper a new event-driven model for holonic approach for manufacturing execution system design:
manufacturing execution system in introduced. Event An industrial application. Engineering Applications of
model includes two sub-modules: event configuration Artificial Intelligence, 2008, 21(3): 315-33.
and event detection. Event configuration module is to
[7] Valckenaers P, Van B H. Holonic Manufacturing
configure event to production cell. Event detect Execution Systems. CIRP Annals - Manufacturing
module is to configure event trigger condition, and Technology , 2005, 54(1): 427-432.
construct business logic to dispose event created.
Firstly, production event possibly occur in [8] Paul Verstraete, Paul Valckenaers. Towards cooperating
manufacturing cell is definite, and assign event to the planning and manufacturing execution systems. Information
cell. The next step is to definite event detect model for Control Problems in Manufacturing 2006, 2006: 371-376.
each production event assigned, then trigger condition
and dispose flow is configured. [9] Wada H H, Okada S H. An Autonomous Agent Approach
for Manufacturing Execution Control Systems. Integrated
Further research work will be done on follow areas:
Computer-Aided Engineering, 2002, 9(3): 251-262.
on the extension to multithreading event process
instead of sequential process in platform, so as to [10] Chai Tianyou, Zheng Binglin, Hu Yi, Huang Xiaoling.
improve process speed and efficiency. Research status and development trend of
Manufacturing Execution System. Control Engineering
Acknowledgments of China, 2005, 12(6): 505-510.
References
[1] Wang Zhixin, Jin Shousong. Manufacturing Execution
System and Application. China Electronic Power Pressˈ
2006. (in Chinese)
390
Authorized licensed use limited to: ULAKBIM UASL ISTANBUL TEKNIK UNIV. Downloaded on January 28, 2010 at 03:17 from IEEE Xplore. Restrictions apply.