1 control of a flexible manufacturing cell by petri nets in java language

12
1 Control of a flexible manufacturing cell by Petri nets in Java language.

Post on 21-Dec-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 Control of a flexible manufacturing cell by Petri nets in Java language

11

Control of a flexible manufacturing cell by Petri nets

in Java language.

Page 2: 1 Control of a flexible manufacturing cell by Petri nets in Java language

22

ObjetivObjetiveess

Configurating the PCI SC/I-T controller board via CMD’s HLI.

Create a set of Java classes that can access to the bus.

Create a Java implementation of Petri nets to control the manufacturing cell via Interbus.

Page 3: 1 Control of a flexible manufacturing cell by Petri nets in Java language

33

The The PCI SC/I-TPCI SC/I-T controller board controller board

4th. Generation Interbus controller board.

Remote interface for PCI bus.

Total configuration of the controlled system process data by CMD software.

Permits permanent storage of process data in its EEPROM memory.

Page 4: 1 Control of a flexible manufacturing cell by Petri nets in Java language

44

InterbusInterbus

Page 5: 1 Control of a flexible manufacturing cell by Petri nets in Java language

55

CMDCMD

Phoenix-Contact bus configuration software Can export bus configuration to a high-level

languaje. Auto-configuration.

Page 6: 1 Control of a flexible manufacturing cell by Petri nets in Java language

66

JNIJNI

Interconnect Java with C libraries. Solution: changing the C functions

created by HLI for being used from a Java application.

Java provides this funcionality: JNI (Java Native Interface).

Now we only have to find a method for representing the system to control: Petri nets.

Page 7: 1 Control of a flexible manufacturing cell by Petri nets in Java language

77

Java programmingJava programming

Page 8: 1 Control of a flexible manufacturing cell by Petri nets in Java language

88

Petri netsPetri nets Petri nets (PN) are a modelling and analysis tool

especifically adapted to the study of discrete events systems.

A set of classes have been implemented for representing a PN: Place, Transition, Net.

Two ways for creating a PN: direct code writing or importing a PN from an external editor.

We have used HPSim, a free PN editor that exports a PN into a .txt file; the class TextToNet translates the created PN into a Net object inside our project.

Page 9: 1 Control of a flexible manufacturing cell by Petri nets in Java language

99Petri netsPetri nets

Station automaticStation automatic

production production

independent netsindependent nets

InicializatiInicializationon

netnet

Global control net

Page 10: 1 Control of a flexible manufacturing cell by Petri nets in Java language

1010

Page 11: 1 Control of a flexible manufacturing cell by Petri nets in Java language

1111

ControlControl

Class Coordinator implements the evolution of the PN: habilited transitions, fires and marking. Actualizates the monitor/s values.

Monitors hold the variables: station inputs and outputs, array of orders, etc.

After a fixed delay the class BusManager actualizates the station output variables from the monitor objects values and actualizates from the bus the input values.

Page 12: 1 Control of a flexible manufacturing cell by Petri nets in Java language

1212

Xplore project MembersXplore project Members

Ramón Piedrafita MorenoAlberto Gran TejeroOscar García Flores

Universidad de ZaragozaUniversidad de Zaragoza

Video (Media Player) Video (Quicktime)