30
An educational software project in the field of process control Michael Ritzschke Institute of Informatics Humboldt University Berlin

An educational software project in the field of process ...ritzschk/paper/albanien_08.pdf · An educational software project in the field of process control Michael Ritzschke Institute

Embed Size (px)

Citation preview

An educational software project in the field of process control

Michael RitzschkeInstitute of InformaticsHumboldt University

Berlin

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 20082

Motivation and goals of the projectConfiguration of the programmable logic controller (PLC) SIMATICSteps to develop a PLC programOutlook: Automatically generate a PLC program

Contents

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 20083

Process control with programmable logic controler (PLC)

PLC: digital computer used for automation of industrial processes (SIMATIC S7-200 … -400, SIMATIC S5)

For instance control of machinery on factory assembly lines

PLC are special PC‘s for using in severe conditions (dust, moisture, heat, cold, etc)

PLC have the facility for extensive input/output arrangements, connecting the PLC to sensors and actuators with different modules

http://en.wikipedia.org/wiki/Assembly_line

http://www.automation.siemens.com

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 20084

Process control with PLC –an industrial example

Fully automatic pallet storage system

http://www.insystems.de

5

Process control of a production modelin our CAM_Lab at Humboldt University

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

6

The production model

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

High-bay storage

Supply parts storage (gibs)

MachinesAssambly robot

Conveyors androtary tables

7

Goals of the project – what our students can learn

Architecture of PLC and their configuration Why PLC is used in process controlDevelop different models from a production process (state machines, Petri Net etc)Write a control programTest the program with a simulation toolTest the program with our production model Find mistakes and eliminate theseWork with different development tools

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 20088

Motivation and goals of the projectConfiguration of the programmable logic controller (PLC) SIMATICSteps to develop a PLC programOutlook: Automatically generate a PLC program

Contents

9

Hardware configuration of the PLC SIMATIC

Basis: Numbers and types of the sensorsignalsand the actuatorsignals

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

84 Input-Signals50 Switches, 28 Metal detectors, 1 photoelectric barrier

binary signal1 Potentiometer analogue signal4 incremental position encoder

digital signal

88 Output-Signals84 Motors, 4 Magnets binary signal

10

1995: Use a catalogue

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

11

Today: STEP 7-Lite(via internet freely available Software /1/)

Easy configure the hardware with drag&drop

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

12

S135U: Our configuration

3 CPU’s1 Coordination4 Digit input4 Digit output1 Analogue input2 Special modules with own CPU (Incrementer)2 Electricity supply

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 200813

Contents

Motivation, goals of the projectConfiguration of the PLC SIMATICSteps to develop a PLC program

Develop models of the ProcessWrite the programTest the program with simulation PLCTest the program in practice

Outlook: Automatically generate a PLC program

14

Factory door – a teaching example

Static model: Layout of a factory door

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

2 sensors (opened / closed)actuator: electrical motor2 key switches, 1 telekeyFlashing light (door moves)Broken photoelectric key door opensDoor closes after 20 sec

15

Signal-Table

Signal I/O Kennz Logische ZuordnungSchlüsselschalter außen E 1.0 S1 Betätigt S1=1

Schlüsselschalter innen E 1.1 S2 Betätigt S2=1

Funkempfänger E 1.2 S3 Code empfangen S3=1

Endschalter Tor zu E 1.3 S4 Tor zu S4=1

Endschalter Tor auf E 1.4 S5 Tor auf S5=1

Lichtschranke E 1.5 L1 Unterbrochen L1=0 (!) Öffner

Blinklicht A 1.0 H1 Licht an H1=1

Motorschütz Tor auf A 1.1 K1 Schütz angezogen K1=1

Motorschütz Tor zu A 1.2 K2 Schütz angezogen K2=1

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

16

Static model: Finite state machine

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

17

Dynamic model: Petri Net

Software /2/:Visual Object Net

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

18

Some student solutions

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

19

Editing the program (IEC 61131-3: Function block diagram and statement list)

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

Software /3/:S5/S7 for Windows

20

Simulation and test the program with simulation PLC /3/

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

21

Student project: Development of a PLC program for a part of the production model

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

22

Example: Cycle transport pallets with conveyors

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

Static model: Layout

The program as a paper (statement list) and …

23M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

24

The program … in action

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 200825

Motivation, goals of the projectConfiguration of the programmable logic controller (PLC) SIMATICSteps to develop a PLC programOutlook: Automatically generate a PLC program

Contents

26M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

Model: Signal interpreted Petri Net (SIPN)

Control system

ProcessAE E : sensor signalsA : control signals

E5.3 = 1E5.4 = 0 A4.4 = 1

A4.2 = 0A4.3 = 0

SIPN = Petri Net + inputsignals + outputsignals

27M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

Example: Control of 3 conveyors

28

Output signals: 2 motors workparallel

Firing condition: pallet on conveyor9, conveyor 10 free

M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

SIPN for control of 3 conveyors /4/

Firing condition: pallet on conveyor 10

29M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

Generated code (Instruction list)

30M.Ritzschke, DAAD Workshop Durres, September, 8th - 13th, 2008

References/1/ STEP 7-Lite. Siemens AG, http://support.automation.siemens.com/2/ Drath, R., Visual Object Net++, Technical University Ilmenau /3/ S5/S7 for Windows. IBHsoftec GmbH,

http://www.ibhsoftec-sps.de/english/Selection_S5_S7.htm/4/ SIPN-Editor: University Kaiserslautern,

http://www.eit.uni-kl.de/frey/Downloads/SIPN/SIPNEditor.htm

Summary and references