EventsThe 1st International Online Conference on Technologies
Published
This submission belongs to the session S4. Manufacturing Technologies of the event The 1st International Online Conference on Technologies
Published date
06 Nov, 2026
Academic Editor
author-avatarEugene Wong
Citation
Amjad AHMED MOHAMMED Salah, Andrei Mihaela, AI-Powered Industrial Sorting System: Integrating Computer Vision with PLC Automation for Multi-Class Workpiece Classification, in Proceedings of The 1st International Online Conference on Technologies, 11 November–13 November 2026, MDPI: Basel, Switzerland
Share
Email
Facebook
Twitter
LinkedIn

AI-Powered Industrial Sorting System: Integrating Computer Vision with PLC Automation for Multi-Class Workpiece Classification

Amjad AHMED MOHAMMED Salah 1
1. Department of Mechatronics Engineering, Faculty of Technology, Pamukkale University, Denizli, 20160, Turkey (Türkiye)
2. Department of Electronics and Telecommunications, Faculty of Automation, Computers, Electrical Engineering and Electronics, "Dunarea de Jos" University of Galati, Galati, 800201, Romania
Abstract

Modern manufacturing environments require fast and reliable product sorting to maintain quality standards and reduce dependence and possible errors caused by manual inspection. Traditional sorting systems use fixed sensors, such as inductive proximity sensors or photoelectric barriers, paired with rule-based programmable logic controller (PLC) logic. These have good performances for simple tasks, but they cannot handle visual variations or quality criteria that go beyond basic pass/fail detection. Combining deep learning-based computer vision with PLCs addresses this limitation. A trained neural network handles flexible pattern recognition, while the PLC provides deterministic, real-time control. This paper proposes an AI-powered industrial sorting system. The presented solution combines a Siemens S7-1500 PLC with a MobileNetV2-based computer vision module to classify conveyor workpieces into four categories: Blue, Green, Metal, and Base - the latter corresponding to rejected or unrecognized workpieces. The PLC program was developed in TIA Portal using Ladder Diagram (LAD) and follows a state-machine architecture. A dual-confirmation mechanism in the AI interface block prevents false actuations by requiring both an AI classification result and a physical sensor signal before any actuator is activated. The proposed solution reduces the risk of false sorting actions caused by isolated prediction errors or incorrect object positioning. The system achieved an overall classification accuracy of 96%, validated in a Factory I/O simulation environment.

Keywords
PLC
Siemens S7-1500
Ladder Logic
TIA Portal
MobileNetV2
Computer Vision
Industrial Sorting
Flask HMI
Transfer Learning
Experimental Performance Assessment of Energy Absorbing 2D Lattice Structures under Quasi-Static Compression
Analysis of Energy Efficiency Indicators in the Context of Industry 4.0: A Dynamic, State-Decomposed IoT Indicator.