4diac - eclipsecon 2020...– logical equal control devices – not necessarily a supervisory...

24
06.06.2013 4DIAC - A Framework for Distributed Industrial Automation and Control 1 fortiss GmbH An-Institut Technische Universität München 4DIAC Alois Zoitl A Framework for Distributed Industrial Automation and Control

Upload: others

Post on 18-Jul-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control1

fortiss GmbHAn-Institut Technische Universität München

4DIAC

Alois Zoitl

A Framework for Distributed Industrial Automation and Control

Page 2: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control2

Outline

● Background Industrial Automation

● Short introduction to IEC 61499

● Application example

● Overview 4DIAC

● Evaluation examples

Page 3: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control3

Background Industrial Automation

● Industrial plants are most of the time one of a kind● Low programming skills of typical industrial plant maintenance

personnel● General hardware platforms → Programmable Logic Controller (PLC)

– Modular extensible architecture → re-usable in many different systems

– Simplified real-time programming through dedicated languages and defined execution model

● New demands – Adaptability– Shorter product life-cycles, global markets

→ Industry 4.0● Requires for new control architectures and programming methods

Page 4: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control4

IEC 61499 Introduction

● Origin– 1990s: holonic and agile manufacturing systems– Requirements: flexibility, adaptivity, and distribution

● Goals– Standardized architecture for function blocks in

distributed industrial-process measurement and control systems– Logical equal control devices– Not necessarily a supervisory control device– Basic support for dynamic reconfiguration

● Developed by IEC TC65/WG6– Started 1993– Experts originally from USA, Germany, Japan, UK, Sweden, France, Italy– Also responsible for

● IEC 61131-3 - Programmable Controller Languages● IEC 61131-8 - Programmable Controller Language Guidelines

Page 5: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control5

Core Element: Function Block

● Function Blocks extended with event interface

● Pure event-driven execution model

● Data types based on IEC 61131-3

● Focus on encapsulation and reuse

● No global or directly addressed variables

● Hardware access with special function block type:Service Interface Function Block

Event ExecutionControl

FB Type Name

EncapsulatedFunctionality

Event Interface

Data Interface

Page 6: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control6

IEC 61499 Application Model

● Function Blocks

● Event connections

● Data connections

FB 5FB 4

FB 1

FB 3

FB 2

Page 7: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control7

System and Distribution Model

ApplicationModel

FB 4FB 1 FB 3

FB 2

FB 5

System Model:• Devices• Process/Machine• Communication

Infrastructure

Device 1 Device 2 Device 3 Device 4 Device 5

Controlled Process/Machine

Application 1

App 2 Application 3

Page 8: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control8

Control Application Example● Fill level control of a tank● Pump draining independently

→ disturbance● Simulated tank, valve, and

pump● Simple HMI

– Set-point– Hand / automatic– Strip chart

Based on an Example from James Christensen

Page 9: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control9

Central Application

Test in Simulation DeviceTest in Simulation Device

Page 10: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control10

Model System

Page 11: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control11

Distribute to Devices

Page 12: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control12

Device Specific Parameters and Adjustments

Page 13: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control13

Deployment

Page 14: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control14

Overview 4DIAC

Framework for Distributed Industrial Automation and Control

Page 15: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control15

4DIAC Overview

● Goal: open source implementation of IEC 61499– Common basis for development,

industrial application, and research of IEC 61499

– Leveraging the use of IEC 61499 within industry

● Provided Content– 4DIAC-IDE: engineering tool – 4DIAC-RTE (FORTE): small

real-time capable runtime environment– 4DIAC-LIB: function block library– 4DIAC-Systems: example

applications● Open Source License

– Eclipse Public License– Allows usage in products and

proprietary add-ons

Page 16: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

28.05.20134DIAC - The Open Source Initiative for Distributed Industrial Automation and Control

16

4DIAC Users

● Industrial users

– nxtControl: FORTE with own tool

– Bachmann: evaluation

– Voigt + Wipp Engineers: evaluation

– ABB: use in internal research projects

● Universities and research institutes

– Austria, Germany, Spain, Italy, New Zealand, Canada, …

● Application domains:

– Building automation, process industries, laboratory automation, smart grids, machine control, sequence coordination, ...

Page 17: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control17

4DIAC-IDE: Application/Distributed System Development

● System Editor: – Application modeling– support for sub-applications– Device and network

specification– mapping

● Deployment:– support for different profiles– separate deployment

possible● Project Management

– project specific Type-Libraries

Page 18: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control18

4DIAC-IDE: Function Block Development

● Types

– Basic FB’s

– Composite FB’s

– Service Interface FB’s

– Adapters● Code generation (C++)

Page 19: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control19

4DIAC-IDE: Testing, Monitoring, Debugging

● Test FBs – On target device– Manual– Automated unit tests

● Investigate Applications– Watch interface elements– Trigger events– Force values

Page 20: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control20

FORTE: Overview

● Written in C++● Modular design → scalability● Core functionality

– Basic IEC 61499 elements and their execution

– Hardware abstraction

● Most extensions in FB libraries● Real-time execution support

– Requires real-time operating system

● Flexible communication infrastructure via so called communication layers.

● Currently Supported layers are:– FBDK ASN.1 encoding

– Ethernet

– Modbus TCP client

– OPC DA client

Page 21: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control21

FORTE: Supported Platforms

● Operating Systems– Windows

– Posix: Cygwin, Linux (i386, PPC)

– NET+OS® 7

– eCos

● Devices and Boards– Digi Connect ME® (ARM7)

– Lego Mindstorms nxt (ARM7)

– Bachmann electronic M1 PLC

– KIPR’s CBC v2 robot controller

● Further tested and upcoming– e.g., Raspberry Pi

Page 22: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

28.05.20134DIAC - The Open Source Initiative for Distributed Industrial Automation and Control

22

4DIAC Toolchain

Platform specificFORTE version

Target Compiler

.h /.cppFORTE source files

FORTEfirmware typefile generation

FB.h

Applicationdownload

Page 23: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control23

Evaluation Examples

● Bin Picking Control– Integration of 3D vision algorithms

– Automatic collision free path planning

– Interaction with robots

● Closed Loop Control– Real-time constrained execution– Reconfiguration during full system

operation– Networked closed-loop control

● Discrete Manufacturing– Coordination control of several

different machines– Up to 120 control devices

● Smart Grid and Laboratory Automation– Integration with IEC 61850– Interaction with Distribution

Management Systems and SCADA

Tap Changer Control in IEC 61499 with FORTE

Tap Changer Control Application Development with 4DIAC-IDE

Application Deployment

(XML Protocol over TCP/IP)

Power Network Simulation with PSAT

Page 24: 4DIAC - EclipseCon 2020...– Logical equal control devices – Not necessarily a supervisory control device – Basic support for dynamic reconfiguration Developed by IEC TC65/WG6

06.06.20134DIAC - A Framework for Distributed Industrial Automation and Control24

Contact

Dr. Alois Zoitl

fortiss GmbHGuerickestraße 25,80805 München, Germany

Tel +49 89 3603522 22Fax +49 89 3603522 50

[email protected]

Acknowledgements● James Christensen● Gerhard Ebenhofer● Ingo Hegny● Carolyn Oates● Thomas Strasser● Christoph Sünder

www.fordiac.org