IEC 61499 based distributed data collection framework for multivariate time series data

Thumbnail Image

URL

Journal Title

Journal ISSN

Volume Title

Sähkötekniikan korkeakoulu | Master's thesis

Date

2024-01-22

Department

Major/Subject

Control, Robotics and Autonomous Systems

Mcode

ELEC3025

Degree programme

AEE - Master’s Programme in Automation and Electrical Engineering (TS2013)

Language

en

Pages

78+2

Series

Abstract

Modern industrial systems create a vast amount of data that must be collected for analysis. This data is not necessarily easily accessible at once. Components of the system may expose their data in the network through communication protocols such as OPC UA. If the equipment hosting the OPC UA server lacks tools to actively push data to some permanent storage, such as a time series database, a data collector must be implemented to fetch the data from the endpoint and write it to the TSDB. IEC 61499 can be leveraged in creating the collector. It allows an application developer to quickly assemble and configure the collector out of modular parts, contained in Function Blocks. Service Interface function blocks can also be used to implement an interface for the analysis software, allowing the same developer to distribute analysis tasks to devices in the network using IEC 61499's device model. This is especially useful since simple data ingestion from source to TSDB may impose a relatively light computation load, but analysis will often require a powerful PC with a GPU. This work presents a data collection and analysis FB library for the 4DIAC Forte runtime environment. The FB library contains tools to route data from OPC UA servers to a TSDB, filter out unwanted data, and instantiate and configure Python based analysis algorithms and interface them via SIFBs.

Nykyaikaiset automaatiojärjestelmät tuottavat suuria määriä dataa, jota voidaan kerätä talteen analyysia varten. Data tulee kuitenkin usein hajautetusti useista lähteistä, ja järjestelmän osat saattavat julkaista datansa käyttäen korkean luokan viestintäjärjestelmiä, kuten OPC UA:ta. Jos dataa julkaiseva laite ei kykene itse lähettämään viestejä varastoinnista vastaavalle laitteelle, kuten aikasarjatietokannalle, täytyy erillisen keräysjärjestelmän kerätä data. IEC 61499:tä voidaan hyödyntää keräysjärjestelmän kehityksessä. Sen avulla ohjelmistokehittäjä voi nopeasti ja helposti koota keräysjärjestelmän valmiiksi kehitetyistä modulaarisista osista. Moninimutkaisiakin järjestelmiä, kuten analyysiohjelmaa, voidaan kuvata IEC 61499:n graafisella ohjelmointikielellä. Monimutkainen ohjelma voidaan piilottaa yksinkertaisen käyttöliittymän taakse. IEC 61499 mahdollistaa myös ohjelman osien hajauttamisen verkossa oleville laitteille. Keräilyn voi suorittaa verkon reunalaita, kun taas laskennallisesti raskaan analyysiohjelman voi ladata tehokkaalla näyttökortilla varustetulle tietokoneelle. Tässä työssä esitellään datankeräystä ja analyysia varten kehitetty FB-kirjasto, joka sisältää työkaluja datankeruuseen OPC UA-palvelimilta, kiinnostavan ja turhan datan erotteluun, sekä Pythonilla kirjoitettujen analyysialgoritmien ajoon.

Description

Supervisor

Vyatkin, Valeriy

Thesis advisor

Atmojo, Udayanto

Keywords

IEC 61499, OPC UA, data collection, data analysis

Other note

Citation