Master's Thesis · 2024

Designing an IoT system for an electromechanical sorting line

A complete Industry 4.0 build — a 3D box-sorting line driven by a PLC, streaming live data to the cloud and visualised on a real-time dashboard. Submitted for my Master's in Electrical Control at Ferhat Abbas Sétif 1 University.

★ 17.99 / 20 — top of the department
System architecture

The proposed architecture — factory data → PLC (OPC-UA server) → Node-RED → AWS cloud (InfluxDB storage + Grafana visualisation).

Built with
Factory I/OFactory I/O
TIA PortalTIA Portal
Node-REDNode-RED
InfluxDBInfluxDB
GrafanaGrafana
AWSAWS
The idea

From a moving conveyor to a live cloud dashboard.

The thesis explores integrating the Internet of Things with electromechanical systems by monitoring and controlling a box-sorting process. A virtual conveyor line detects boxes and separates them into small, medium and large — while every signal (counts, speeds, arm states, faults) is collected, stored and visualised in real time.

It spans the whole stack: building the 3D scene in Factory I/O, programming the control logic in Ladder on Siemens TIA Portal, bridging the PLC to the cloud over OPC UA with Node-RED, storing time-series data in InfluxDB on AWS, and presenting it through secured Grafana dashboards — plus a custom TIA Portal function block that tracks machine runtime for maintenance.

How it works

The data pipeline, end to end.

01

Factory I/O

3D sorting line — emitters, conveyors, sensors & pivot arms.

02

TIA Portal

Ladder-logic control on a simulated Siemens S7 PLC.

03

OPC UA + Node-RED

Reads PLC tags and shapes the data flows.

04

InfluxDB on AWS

Time-series storage in the cloud.

05

Grafana

Live dashboards, alerts & SSL-secured portals.

Inside the build

From simulation to control to cloud.

Factory I/O
The 3D sorting line — conveyors, emitter, sensors and pivot arms.
Factory I/O sorting line
Grafana
The full monitoring dashboard with status, run-time and box-tracking tables.
Completed Grafana dashboard
Highlights

What it delivers.

3
Box sizes sorted (S / M / L)
Live
Real-time cloud telemetry
SSL
Secured public portals
17.99
Grade / 20 — top of dept.

Beyond the core pipeline, the system raises automatic fault alerts (missing boxes, sudden speed drops), tracks lost boxes, and includes a custom TIA Portal function block that monitors each conveyor's runtime — turning raw machine signals into maintenance insight.

Read the full thesis.

140 pages covering the theory, the complete build and the results — figures, scripts and all.

PDF Download the thesisFull document · PDF · 7 MB