an educational software project in the field of process control michael ritzschke institute of...

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

Upload: leslie-martin

Post on 20-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 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 control

Michael RitzschkeInstitute of InformaticsHumboldt University

Berlin

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

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

Motivation and goals of the project Configuration of a programmable

logic controller (PLC) Steps to develop a PLC program Outlook: Automatically generate a

PLC program

Contents

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

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

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

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

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

5

Process control of a production modelin our CAM_Lab at Humboldt University

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

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

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

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

7

Goals of the project – what our students can learn

Why PLC is used in process control Configuration of PLC Develop models from a production process Write a control program Test the program with a simulation tool Test the program with our production model Find mistakes and eliminate these Work with different development tools

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

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

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

Motivation and goals of the project Configuration of the programmable

logic controller (PLC) SIMATIC Steps to develop a PLC program Outlook: Automatically generate a

PLC program

Contents

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

9

Hardware configuration of the PLC

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

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

10

Hardware configuration of the PLC

Base: Numbers and types of the sensorsignalsand the actuatorsignals

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

84 Input-Signals 50 Switches, 28 Metal detectors, 1 photoelectric barrier

binary signals 1 Potentiometer analogue signal 4 incremental position encoder

digital signals

88 Output-Signals 84 Motors, 4 Magnets binary signals

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

11

1995: Use a catalogue

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

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

12

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

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

13

S135U: Our configuration

3 CPU’s 1 Coordination 4 Digit input 4 Digit output 1 Analogue input 2 Special modules with

own CPU (Incrementer) 2 Electricity supply

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

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

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

Contents

Motivation, goals of the project Configuration of the PLC SIMATIC Steps to develop a PLC program

Develop models of the Process Write the program Test the program with simulation PLC Test the program in practice

Outlook: Automatically generate a PLC program

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

15

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 motor 2 key switches, 1 telekey Flashing light (door moves) Door closes after 20 sec Broken photoelectric key

door opens again

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

16

Signal-Table

Signal I/O Kennz Logische Zuordnung

Schlü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

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

17

Static model: Finite state machine

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

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

18

Dynamic model: Petri Net

Software /2/:Visual Object Net

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

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

19

Some student solutions

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

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

20

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

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

Development Software /3/:S5/S7 for Windows

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

21

Simulation and test the program with simulation PLC /3/

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

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

22

Student project: Development of a PLC program

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

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

23

Example: Cycle transport pallets with conveyors

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

Static model: Layout

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

The program as a paper (statement list) and …

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

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

25

The program … in action

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

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

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

Motivation, goals of the project Configuration of the programmable

logic controller (PLC) SIMATIC Steps to develop a PLC program Outlook: Automatically generate a

PLC program

Contents

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

27M.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

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

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

Example: Control of 3 conveyors

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

29

Output signals

Firing condition

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

SIPN for control of 3 conveyors /4/

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

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

Generated code (Instruction list)

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

31M.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

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

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

An educational software project in the field of process control

Thank you for your attention!