Talk · International Conference on Control, Automation and Robotics · April 27, 2024
Integrated Machine Vision and PLC Commanding for Efficient Bottle Label Detection in Industrial Processes: A Unified Approach for Quality Control
Miras Akhmetov, Damir Kanymkulov, Amir Amirov, Almira Askhatova, Tohid Alizadeh
Abstract
This paper presents an integrated approach to bottle label detection in industrial processes, combining machine vision techniques with Programmable Logic Controller (PLC) commanding for an efficient and reliable quality control system. The logic of the label detection station was developed using ladder diagrams to simulate the process and determine whether to retain or remove a bottle on the conveyor based on label presence. The image processing component, executed in Python, manipulated the main variable indicating the label's presence on the bottle. CODESYS was employed to visually represent the process, and in the simulation phase, the bottle traversed the conveyor, halting when the proximity sensor activated. Python code provided the labeling status, and the corresponding image was displayed on a simulation screen. To bridge the gap between image processing and logic control, the functionality of image processing in Python was linked with the CODESYS logic. An OPC UA server in CODESYS facilitated external connections, enabling Python to access and configure CODESYS variables. Challenges, such as scanning rate disparities between Python and CODESYS, were addressed through the introduction of sessions synchronized by a counter. Technical steps involved using an OPC UA client program to monitor server availability and access CODESYS program variables. The installation of the Security plugin in CODESYS ensured secure external connections. The project's key realization was the seamless linkage between image processing and PLC logic, demonstrating an effective integration of machine vision into industrial processes. For bottle label detection, the paper employed OpenCV for object recognition. The image segmentation method, utilizing adaptive thresholding, distinguished the bottle from its background, optimizing the separation process. Contours were identified using findContours(), and a thorough cleanup using arcLength() and approxPolyDP() functions ensured only relevant labels remained. The combination of geometric analysis and parameter optimization resulted in precise and effective label detection. In conclusion, the proposed approach showcases the successful integration of machine vision and PLC commanding for bottle label detection in industrial settings. The synergy between image processing and logic control offers a fast and error-free solution for quality control inspections, laying the groundwork for future advancements in industrial automation.
Related publications
- Grey Wolf Optimizer Aided ANN Based Behavioral Modelling Scheme for Fully Printed VO2 SwitchesIEEE International Conference on Electronics, Circuits and Systems · 2023 · Citations: 1 · Same author: Damir Kanymkulov
- Optimization of Behavioral Model of VO 2 Switches Using Slime Mould AlgorithmInternational Symposium on Networks, Computers and Communications · 2023 · Same author: Damir Kanymkulov
- Development of a conceptual model for robotic manipulator-computer vision interaction in object recognition using data matrix codeEastern-European Journal of Enterprise Technologies · 2026 · Shared topic: Robot Manipulation and Learning
- Comparative evaluation of ResNet18, ResNet34, and ResNet50 models in classifying plant leaf diseasesYassawi Journal of Engineering Science · 2026 · Shared topic: Industrial Vision Systems and Defect Detection
