Edge AI Integration for Anomaly Detection in Assembly using Delta Robot

dc.contributor.advisor Macaš, Martin
dc.contributor.author Hanzlík, Vojtěch
dc.contributor.referee Vavrečka, Michal
dc.date.accessioned 2024-06-18T14:22:04Z
dc.date.available 2024-06-18T14:22:04Z
dc.date.issued 2024-06-06
dc.description.abstract Tato práce představuje vývoj a nasazení systému detekce anomálií pro víceosý delta robot umístěný v Testbedu pro Průmysl 4.0 v Českém institutu informatiky, robotiky a kybernetiky při ČVUT v Praze. Díky integraci algoritmů strojového učení projekt analyzuje vícerozměrné časové řady dat ze senzorů točivého momentu a síly za účelem nalezení anomálií v procesu montáže kol dálkově řízených vozidel. V architektuře systému se pak k přenosu dat z delta robota používá protokol Open Platform Communications United Architecture (OPC UA). Mechanismus pro serializaci dat zvaný Protocol Buffer společně s komunikačním protokolem gRPC je použit v modelu klient-server, který zprostředkovává zpracování dat v reálném čase a detekci anomálií. Server gRPC obsahuje model detekce anomálií, který je zabalen jako modul Pythonu pro jednoduchou distribuci. Pomocí webového uživatelského rozhraní vytvořeného pomocí Flask a WebSockets mohou uživatelé komunikovat se systémem, zobrazovat výsledky v reálném čase a poskytovat zpětnou vazbu. K ukládání historických dat a chybných detekcí, které byly označeny uživateli, se používá databáze MongoDB, která napomáhá průběžnému vývoji modelu. K posouzení výkonnosti systému byly použity metriky jako doba zpracování dat a odezva komunikace mezi různými komponenty. Pro usnadnění procesu nasazení a monitorování byly použity postupy MLOps. Kontejnerizace zajišťuje konzistentní nasazení na různých platformách. Díky zobrazení časových řad a výsledků detekce anomálií nabízí integrace s nástrojem Grafana řadu možností monitorování systému. cs
dc.description.abstract This thesis presents the development and deployment of an anomaly detection system for a multi-axis delta robot located at the Testbed for Industry 4.0 at the Czech Institute of Informatics, Robotics, and Cybernetics at the Czech Technical University in Prague. By integrating machine learning algorithms, the project analyzes multidimensional timeseries data from torque and force sensors to find anomalies in the process of wheel assembly for remote-controlled vehicles. The Open Platform Communications United Architecture protocol (OPC UA) is used in the system architecture to transfer data from the delta robot. Protocol Buffers are used for structured data serialization in the general-purpose Remote Procedure Calls (gRPC) client-server architecture, which offers real-time data processing and anomaly detection. The gRPC server integrates the anomaly detection model for time series data analysis, which is packaged as a Python module for simple distribution. With the help of a web-based user interface created with Flask and WebSockets, users can communicate with the system, see real-time results, and provide feedback. A MongoDB database is used to store historical data and human labels for inaccurate predictions, allowing continuous model development. Metrics like processing time and latency were used to assess the system’s performance. To ease the deployment and monitoring process, Machine Learning Operation Procedures have been used. Dockerization ensures a consistent deployment across all platforms. By showing time series data and anomaly detection results, integration with Grafana offers a number of monitoring options. en
dc.identifier KOS-1240453774405
dc.identifier.uri http://hdl.handle.net/10467/115233
dc.publisher České vysoké učení technické v Praze cs
dc.publisher Czech Technical University in Prague en
dc.rights A university thesis is a work protected by the Copyright Act of the Czech Republic. Extracts, copies and transcripts of the thesis are allowed for personal use only and at one`s own expense. The use of thesis should be in compliance with the Copyright Act. en
dc.rights Vysokoškolská závěrečná práce je dílo chráněné autorským zákonem. Je možné pořizovat z něj na své náklady a pro svoji osobní potřebu výpisy, opisy a rozmnoženiny. Jeho využití musí být v souladu s autorským zákonem v platném znění. cs
dc.subject Průmysl 4.0 cs
dc.subject Nasazení strojového učení cs
dc.subject Komunikační protokoly cs
dc.subject Systémy v reálném čase cs
dc.subject Industry 4.0 en
dc.subject Machine learning deployment en
dc.subject Communication protocols en
dc.subject Real-time systems en
dc.title Edge AI integrace detekce anomálií v procesu montáže pomocí delta robota cs
dc.title Edge AI Integration for Anomaly Detection in Assembly using Delta Robot en
dc.type bachelor thesis en
dspace.entity.type Publication
relation.isAdvisorOfPublication adfdd3de-17a4-4dc9-b930-a53d991ac24b
relation.isAdvisorOfPublication.latestForDiscovery adfdd3de-17a4-4dc9-b930-a53d991ac24b
relation.isAuthorOfPublication d90cc6f5-7770-48c3-a08a-14fe19f6c240
relation.isAuthorOfPublication.latestForDiscovery d90cc6f5-7770-48c3-a08a-14fe19f6c240
relation.isRefereeOfPublication 8bfdc48f-d0ee-44f6-be16-f56053d1da57
relation.isRefereeOfPublication.latestForDiscovery 8bfdc48f-d0ee-44f6-be16-f56053d1da57
theses.degree.discipline Technologie internetu věcí cs
theses.degree.grantor katedra počítačů cs
theses.degree.programme Softwarové inženýrství a technologie cs

Files

Original bundle

Now showing 1 - 4 of 4
Name:
F3-BP-2024-Hanzlik-Vojtech-Anomaly_Detection_Bachelors_Thesis.pdf
Size:
1.1 MB
Format:
Adobe Portable Document Format
Description:
PLNY_TEXT
Name:
F3-BP-2024-Hanzlik-Vojtech-priloha-github.txt
Size:
48 B
Format:
Plain Text
Description:
PRILOHA
Name:
F3-BP-2024-posudek-Vavrecka_Michal.pdf
Size:
136.77 KB
Format:
Adobe Portable Document Format
Description:
POSUDEK
Name:
F3-BP-2024-posudek-Macas_Martin.pdf
Size:
240.11 KB
Format:
Adobe Portable Document Format
Description:
POSUDEK