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

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

Jul 28, 2018

Download

Documents

phamkien
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 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

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 ...ritzschk/paper/albanien_08.pdf · An educational software project in the field of process control Michael Ritzschke Institute

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

Page 3: 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

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 ...ritzschk/paper/albanien_08.pdf · An educational software project in the field of process control Michael Ritzschke Institute

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 ...ritzschk/paper/albanien_08.pdf · An educational software project in the field of process control Michael Ritzschke Institute

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 ...ritzschk/paper/albanien_08.pdf · An educational software project in the field of process control Michael Ritzschke Institute

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 ...ritzschk/paper/albanien_08.pdf · An educational software project in the field of process control Michael Ritzschke Institute

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

Page 8: 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

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

Page 9: 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

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

Page 10: 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

10

1995: Use a catalogue

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

Page 11: 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

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

Page 12: 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

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

Page 13: 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

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

Page 14: 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

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

Page 15: 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

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

Page 16: 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

16

Static model: Finite state machine

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

Page 17: 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

17

Dynamic model: Petri Net

Software /2/:Visual Object Net

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

Page 18: 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

18

Some student solutions

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

Page 19: 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

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

Page 20: 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

20

Simulation and test the program with simulation PLC /3/

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

Page 21: 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

21

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

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

Page 22: 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

22

Example: Cycle transport pallets with conveyors

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

Static model: Layout

Page 23: 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

The program as a paper (statement list) and …

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

Page 24: 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

24

The program … in action

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

Page 25: 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

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

Page 26: 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

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

Page 27: 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

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

Example: Control of 3 conveyors

Page 28: 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

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

Page 29: 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

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

Generated code (Instruction list)

Page 30: 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

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