Workpiece Inspection and Sorting System using Image Processing on CiRA CORE Integrated with PLC and IoT

Main Article Content

Chonrat Tatiyaworanun

Abstract

This paper presents a workpiece inspection and sorting system using image processing on the CiRA CORE platform integrated with a PLC and IoT technology to enhance accuracy and reduce human errors in workpiece size inspection. The system is designed to use 2 cameras to capture images of the workpieces from the front and top views, with the acquired data transmitted to the CiRA CORE platform for classifying the workpieces according to their diameters and heights. The inspection results are then transmitted to the PLC via the Modbus protocol for automatic sorting control. In addition, the system is connected to the Node-RED program to display and record real-time operational data through IoT technology. The experimental results were performed using cylindrical workpieces with diameters of 5 and 6 centimeters and heights of 4 and 5 centimeters, with each size inspected 20 times. The experimental results showed that the system could accurately detect and measure the dimensions of the workpieces, achieving an average accuracy rate of more than 98 percent. Furthermore, the overall machine performance was evaluated through the Node-RED program.

Article Details

Section
Research Articles

References

G. V. J. Prakash, K. S. Vamsi and M. Kavitha, "Real-Time Maize Seed Quality Sorting Using YOLO11n," 2025 5th International Conference on Intelligent Technologies (CONIT), HUBBALI, India, 2025, pp. 1-6, doi: 10.1109/CONIT65521.2025.11167388.

S. Chattunyakit et al., "AI and IoT-enabled Workpiece Sorting System using Mini-PLC for Industrial Automation," 2024 International Conference on Advanced Mechatronic Systems (ICAMechS), Kusatsu, Shiga, Japan, 2024, pp. 225-229, doi: 10.1109/ICAMechS63130.2024.10818841.

H. Benyezza, M. Bouhedda, I. Kratbi, A. Boukhtache, R. Kara and Y. Aniba, "Automated Fruits Inspection and Sorting Smart System for Industry 4.0 Based on OpenCV and PLC," 2023 2nd International Conference on Electronics, Energy and Measurement (IC2EM), Medea, Algeria, 2023, pp. 1-4, doi: 10.1109/IC2EM59347.2023.10419533.

C. Tatiyaworanun, "Application of Fuzzy Logic Algorithm with Image Processing for PVC Socket Inspection," Engineering Transactions: A Research Publication of Mahanakorn University of Technology, vol. 26, no. 2, July–December, 2023, pp. 69-78 (in Thai).

C. Tatiyaworanun, "Application of Fuzzy Logic for Banana Size Classification based on Image Processing," Engineering Transactions: A Research Publication of Mahanakorn University of Technology, vol. 25, no. 1, January–June, 2022, pp. 39-47 (in Thai).

M. Duraisamy, R. Govindaraj, N. Mohan, A. Kamalakannan, S. Bindal and A. Titus, "Performance Evaluation of Deep Learning based Mandarin Fruit Sorting System with Industrial Camera," 2022 3rd International Conference on Smart Electronics and Communication (ICOSEC), Trichy, India, 2022, pp. 1238-1243, doi: 10.1109/ICOSEC54921.2022.9951937.

C. C. Hortinela and K. J. R. Tupas, "Classification of Cacao Beans Based on their External Physical Features Using Convolutional Neural Network," 2022 IEEE Region 10 Symposium (TENSYMP), Mumbai, India, 2022, pp. 1-5, doi: 10.1109/TENSYMP54529.2022.9864337.

C. K. Loo et al., "CiRA CORE: A Low Code Platform that Makes AI Work for Industry 4.0," 2024 IEEE International Conference on Systems, Man, and Cybernetics (SMC), Kuching, Malaysia, 2024, pp. 1187-1188, doi: 10.1109/SMC54092.2024.10831625.

P. Dobra and J. Jósvai, "Predicting the impact of type changes on Overall Equipment Effectiveness (OEE) through machine learning," 2022 IEEE 1st International Conference on Internet of Digital Reality (IoD), Gyor, Hungary, 2022, pp. 000011-000016, doi: 10.1109/IoD55468.2022.9986645.

R. Kaundal, S. K. Soni and S. Rajguru, "SCADA-Enhanced Real-Time OEE Visualization Driving Industry 4.0 Advancements," 2024 International Conference on Smart Systems for applications in Electrical Sciences (ICSSES), Tumakuru, India, 2024, pp. 1-6, doi: 10.1109/ICSSES62373.2024.10561431.