Return to search

Implementation av molnbaserad edge-enhetslösning för automation / Implementation of cloud-based edge-device solution for automation

The automation industry interest in Internet of Things (IoT) and Microsoft Azure IoT Hub has increased, as it provides improvements in terms of reducing costs, increases revenue and provides efficient management of devices and machines. Prevas is a company working in this field and in this project the assignment was to look at the possibilities of improving an already existing solution they have.The aim was to set up a connection between a Programmable Logic Controller (PLC) and a Azure IoT hub and get the two components to communicate with each other. Through a simple application the PLC and the Azure IoT hub will exchange data with each other. To establish communication of results, the IoT Edge runtime has been installed to transform the Raspberry Pi into an IoT Edge device. The application was created in Node Red, where it was possible to create a connection and communication between the PLC and the Azure IoT hub. Through this application, notifications and messages can be sent between the PLC and the cloud. In the application, it is checked that a machine is working during specific times and if the machine is off when it should be running, an error message will be sent to the IoT hub. / Inom automationsindustrin har intresset för Internet of Things (IoT) och Microsoft Azure IoT-hubben ökat då det ger förbättringar i form av minskade kostnader och ökade intäkter. IoT tillhandahåller en effektiv hantering av enheter och maskiner då allt kan styras från en och samma plats. Prevas är ett företag som arbetar inom detta, och i detta projekt var uppdraget att se på möjligheterna att förbättra en befintlig lösning som de har.Syftet var att sätta upp en anslutning mellan en Programmable Logic Controller (PLC) och Azure IoT-hubben och få de två komponenterna att kommunicera. Genom en enkel applikation ska PLC:n och Azure IoT-hubben utbyta data med varandra. För att upprätthålla kommunikation för resultat har IoT Edge runtime installerats för att omvandla Raspberry Pi:n till en edge-enhet. Applikationen skapades i Node Red, där det var möjligt att skapa en anslutning och kommunikation mellan PLC:n och Azure IoT-hubben. Genom denna applikation kan meddelanden skickas mellan molnet och enheten. I applikationen så kontrolleras det att en maskin arbetar under specifika tider och är maskinen avstängd när den ska vara igång kommer ett felmeddelande att skickas till IoT-hubben.

Identiferoai:union.ndltd.org:UPSALLA1/oai:DiVA.org:kau-90089
Date January 2022
CreatorsJohnsson, Amanda, Domanders, Moa
PublisherKarlstads universitet, Institutionen för matematik och datavetenskap (from 2013), Karlstads universitet, Avdelningen för datavetenskap
Source SetsDiVA Archive at Upsalla University
LanguageSwedish
Detected LanguageSwedish
TypeStudent thesis, info:eu-repo/semantics/bachelorThesis, text
Formatapplication/pdf, application/pdf
Rightsinfo:eu-repo/semantics/openAccess, info:eu-repo/semantics/openAccess

Page generated in 0.0063 seconds