{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,2,12]],"date-time":"2026-02-12T09:42:33Z","timestamp":1770889353049,"version":"3.50.1"},"reference-count":51,"publisher":"MDPI AG","issue":"3","license":[{"start":{"date-parts":[[2024,1,28]],"date-time":"2024-01-28T00:00:00Z","timestamp":1706400000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100001871","name":"Portuguese Foundation for Science and Technology","doi-asserted-by":"publisher","award":["UIDB\/00308\/2020"],"award-info":[{"award-number":["UIDB\/00308\/2020"]}],"id":[{"id":"10.13039\/501100001871","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>This work evaluates the use of a programmable logic controller (PLC) from Phoenix Contact\u2019s PLCnext ecosystem as an image processing platform. PLCnext controllers provide the functions of \u201cclassical\u201d industrial controllers, but they are based on the Linux operating system, also allowing for the use of software tools usually associated with computers. Visual processing applications in the Python programming language using the OpenCV library are implemented in the PLC using this feature. This research is focused on evaluating the use of this PLC as an image processing platform, particularly for industrial machine vision applications. The methodology is based on comparing the PLC\u2019s performance against a computer using standard image processing algorithms. In addition, a demonstration application based on a real-world scenario for quality control by visual inspection is presented. It is concluded that despite significant limitations in processing power, the simultaneous use of the PLC as an industrial controller and image processing platform is feasible for applications of low complexity and undemanding cycle times, providing valuable insights and benchmarks for the scientific community interested in the convergence of industrial automation and computer vision technologies.<\/jats:p>","DOI":"10.3390\/s24030843","type":"journal-article","created":{"date-parts":[[2024,1,30]],"date-time":"2024-01-30T12:06:58Z","timestamp":1706616418000},"page":"843","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":11,"title":["Performance Evaluation of Computer Vision Algorithms in a Programmable Logic Controller: An Industrial Case Study"],"prefix":"10.3390","volume":"24","author":[{"given":"Rodrigo","family":"Vieira","sequence":"first","affiliation":[{"name":"School of Technology and Management, Polytechnic University of Leiria, 2411-901 Leiria, Portugal"}]},{"given":"Dino","family":"Silva","sequence":"additional","affiliation":[{"name":"School of Technology and Management, Polytechnic University of Leiria, 2411-901 Leiria, Portugal"}]},{"given":"Eliseu","family":"Ribeiro","sequence":"additional","affiliation":[{"name":"School of Technology and Management, Polytechnic University of Leiria, 2411-901 Leiria, Portugal"},{"name":"Institute for Systems Engineering and Computers at Coimbra (INESC Coimbra), 3030-290 Coimbra, Portugal"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2626-3154","authenticated-orcid":false,"given":"Lu\u00eds","family":"Perdigoto","sequence":"additional","affiliation":[{"name":"School of Technology and Management, Polytechnic University of Leiria, 2411-901 Leiria, Portugal"},{"name":"Institute of Systems and Robotics, University of Coimbra, 3030-290 Coimbra, Portugal"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4383-0472","authenticated-orcid":false,"given":"Paulo Jorge","family":"Coelho","sequence":"additional","affiliation":[{"name":"School of Technology and Management, Polytechnic University of Leiria, 2411-901 Leiria, Portugal"},{"name":"Institute for Systems Engineering and Computers at Coimbra (INESC Coimbra), 3030-290 Coimbra, Portugal"}]}],"member":"1968","published-online":{"date-parts":[[2024,1,28]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Torras, C. (1992). Computer Vision: Theory and Industrial Applications, Springer.","DOI":"10.1007\/978-3-642-48675-3"},{"key":"ref_2","unstructured":"Kotseruba, I., Papagelis, M., and Tsotsos, J.K. (2021). Industry and Academic Research in Computer Vision. arXiv."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"122204","DOI":"10.1016\/j.techfore.2022.122204","article-title":"Industry 4.0: A Tertiary Literature Review","volume":"186","author":"Lemstra","year":"2023","journal-title":"Technol. Forecast. Soc. Chang."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"100132","DOI":"10.1016\/j.sintl.2021.100132","article-title":"Exploring Impact and Features of Machine Vision for Progressive Industry 4.0 Culture","volume":"3","author":"Javaid","year":"2022","journal-title":"Sens. Int."},{"key":"ref_5","unstructured":"Aggarwal, J.K. (2013). Multisensor Fusion for Computer Vision, Springer Science & Business Media."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Blum, R.S., and Liu, Z. (2018). Multi-Sensor Image Fusion and Its Applications, CRC Press.","DOI":"10.1201\/9781315221069"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"106368","DOI":"10.1016\/j.infsof.2020.106368","article-title":"Large-Scale Machine Learning Systems in Real-World Industrial Settings: A Review of Challenges and Solutions","volume":"127","author":"Lwakatare","year":"2020","journal-title":"Inf. Softw. Technol."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"102127","DOI":"10.1016\/j.vlsi.2023.102127","article-title":"Quantitative Comparison and Performance Evaluation of Deep Learning-Based Object Detection Models on Edge Computing Devices","volume":"95","author":"Lema","year":"2024","journal-title":"Integration"},{"key":"ref_9","unstructured":"Wilamowski, B.M., and Irwin, J.D. (2016). Industrial Communication Systems, CRC Press."},{"key":"ref_10","first-page":"59","article-title":"Industry Communication Based on TCP\/IP Protocol","volume":"29","author":"Schreiber","year":"2021","journal-title":"Res. Pap. Fac. Mater. Sci. Technol. Slovak Univ. Technol."},{"key":"ref_11","unstructured":"Mahony, N.O., Campbell, S., Carvalho, A., Harapanahalli, S., Velasco-Hernandez, G., Krpalkova, L., Riordan, D., and Walsh, J. (2020). Advances in Computer Vision: Proceedings of the 2019 Computer Vision Conference (CVC), Las Vegas, NV, USA, 25\u201326 April 2019, Springer International Publishing."},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Raut, R., Krit, S., and Chatterjee, P. (2022). Machine Vision for Industry 4.0: Applications and Case Studies, CRC Press. [1st ed.].","DOI":"10.1201\/9781003122401"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"661","DOI":"10.1007\/s40684-021-00343-6","article-title":"State of the Art in Defect Detection Based on Machine Vision","volume":"9","author":"Ren","year":"2022","journal-title":"Int. J. Precis. Eng. Manuf.-Green Tech."},{"key":"ref_14","unstructured":"(2023, April 19). PLCnext Technology|Phoenix Contact. Available online: https:\/\/www.phoenixcontact.com\/pt-pt\/industrias\/plcnext-technology."},{"key":"ref_15","doi-asserted-by":"crossref","first-page":"119456","DOI":"10.1016\/j.eswa.2022.119456","article-title":"Artificial Intelligence for Industry 4.0: Systematic Review of Applications, Challenges, and Opportunities","volume":"216","author":"Jan","year":"2023","journal-title":"Expert Syst. Appl."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"105","DOI":"10.1109\/TSMC.2022.3166397","article-title":"Computer Vision Techniques in Manufacturing","volume":"53","author":"Zhou","year":"2023","journal-title":"IEEE Trans. Syst. Man Cybern Syst."},{"key":"ref_17","doi-asserted-by":"crossref","unstructured":"Tang, Y., Sun, K., Zhao, D., Lu, Y., Jiang, J., and Chen, H. (2022, January 11\u201313). Industrial Defect Detection Through Computer Vision: A Survey. Proceedings of the 2022 7th IEEE International Conference on Data Science in Cyberspace (DSC), Guilin, China.","DOI":"10.1109\/DSC55868.2022.00091"},{"key":"ref_18","first-page":"917","article-title":"Surface Characteristics Measurement Using Computer Vision: A Review","volume":"135","author":"Meena","year":"2023","journal-title":"Comput. Model. Eng. Sci."},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Benbarrad, T., Salhaoui, M., Kenitar, S.B., and Arioua, M. (2021). Intelligent Machine Vision Model for Defective Product Inspection Based on Machine Learning. JSAN, 10.","DOI":"10.3390\/jsan10010007"},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"77","DOI":"10.18517\/ijods.2.2.77-84.2021","article-title":"Machine Vision and Metrology Systems: An Overview","volume":"2","author":"Moru","year":"2021","journal-title":"Int. J. Data Sci."},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"220","DOI":"10.3390\/jcp2020012","article-title":"Unsupervised Machine Learning Techniques for Detecting PLC Process Control Anomalies","volume":"2","author":"Bruce","year":"2022","journal-title":"JCP"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"172","DOI":"10.1016\/j.jmsy.2023.07.015","article-title":"PLC Orchestration Automation to Enhance Human\u2013Machine Integration in Adaptive Manufacturing Systems","volume":"71","author":"Mo","year":"2023","journal-title":"J. Manuf. Syst."},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Kuang, Y. (2022, January 16). A Perspective of Intelligent Algorithms and Manipulator Control. Proceedings of the 2022 4th International Conference on Robotics, Intelligent Control and Artificial Intelligence, Dongguan China.","DOI":"10.1145\/3584376.3584467"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"64","DOI":"10.17694\/bajece.487212","article-title":"Real-Time Implementation of Image Based PLC Control for a Robotic Platform","volume":"7","author":"Ayten","year":"2019","journal-title":"Balk. J. Electr. Comput. Eng."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"1098","DOI":"10.1016\/j.measurement.2012.01.031","article-title":"A Vision-Based Measurement Installation for Programmable Logic Controllers","volume":"45","author":"Aydogmus","year":"2012","journal-title":"Measurement"},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"741","DOI":"10.5302\/J.ICROS.2014.13.1969","article-title":"Development of Machine Vision System Based on PLC","volume":"20","author":"Lee","year":"2014","journal-title":"J. Inst. Control Robot. Syst."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"416","DOI":"10.1016\/j.promfg.2015.09.051","article-title":"A Comparative Study of Machine Vision Based Methods for Fault Detection in an Automated Assembly Machine","volume":"1","author":"Chauhan","year":"2015","journal-title":"Procedia Manuf."},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"259","DOI":"10.1007\/978-981-15-8391-9_19","article-title":"Automatic Gear Sorting Using Wireless PLC Based on Computer Vision","volume":"Volume 703","author":"Merchant","year":"2021","journal-title":"Advances in Signal and Data Processing"},{"key":"ref_29","unstructured":"Koodtalang, W., Sangsuwan, T., and Noppakaow, B. (2018, January 17\u201320). A Design of Automated Inspections of Both Shape and Height Simultaneously Based on Stereo Vision and Plc. Proceedings of the 2018 18th International Conference on Control, Automation and Systems (ICCAS), PyeongChang, Republic of Korea."},{"key":"ref_30","doi-asserted-by":"crossref","first-page":"87","DOI":"10.51662\/jiae.v3i2.94","article-title":"Development of a PLC Based Automation Cell for Industry","volume":"3","author":"Rahman","year":"2023","journal-title":"J. Integr. Adv. Eng."},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Liu, F., Tang, J., Yang, J., and Wang, H. (2023, January 14). Automated Industrial Crack Inspection System Based on Edge-Edge Collaboration of Multiple Cameras and Programmable Logic Controller. Proceedings of the 2023 IEEE International Symposium on Broadband Multimedia Systems and Broadcasting (BMSB), Beijing, China.","DOI":"10.1109\/BMSB58369.2023.10211214"},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1145\/3469029","article-title":"Machine Learning at the Network Edge: A Survey","volume":"54","author":"Murshed","year":"2022","journal-title":"ACM Comput. Surv."},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"411","DOI":"10.1109\/JETCAS.2019.2911899","article-title":"Low-Power Computer Vision: Status, Challenges, and Opportunities","volume":"9","author":"Alyamkin","year":"2019","journal-title":"IEEE J. Emerg. Sel. Top. Circuits Syst."},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Goel, A., Tung, C., Lu, Y.-H., and Thiruvathukal, G.K. (2020, January 2\u201316). A Survey of Methods for Low-Power Deep Learning and Computer Vision. Proceedings of the 2020 IEEE 6th World Forum on Internet of Things (WF-IoT), New Orleans, LA, USA.","DOI":"10.1109\/WF-IoT48130.2020.9221198"},{"key":"ref_35","unstructured":"Nair, D., Pakdaman, A., and Pl\u00f6ger, P.G. (2020). Performance Evaluation of Low-Cost Machine Vision Cameras for Image-Based Grasp Verification. arXiv."},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"58287","DOI":"10.1109\/ACCESS.2022.3175496","article-title":"State of Art IoT and Edge Embedded Systems for Real-Time Machine Vision Applications","volume":"10","author":"Meribout","year":"2022","journal-title":"IEEE Access"},{"key":"ref_37","unstructured":"(2023, April 19). OpenCV\u2014Python, Red Light Detection on PLCnext. Available online: https:\/\/www.plcnext-community.net\/makersblog\/opencv-python-red-light-detection-on-plcnext\/."},{"key":"ref_38","unstructured":"Bradski, G.R., and Kaehler, A. (2011). Learning OpenCV: Computer Vision with the OpenCV Library, O\u2019Reilly. [1st ed.]. Software that sees."},{"key":"ref_39","unstructured":"(2023, April 19). PLCnext Technology|Camera and Vision. Available online: https:\/\/www.plcnext-community.net\/forum\/."},{"key":"ref_40","unstructured":"(2023, April 19). Intro to Real-Time Linux for Embedded Developers\u2014Linux Foundation. Available online: https:\/\/www.linuxfoundation.org\/blog\/blog\/intro-to-real-time-linux-for-embedded-developers."},{"key":"ref_41","unstructured":"(2023, April 19). IEC 61131-3:2013|IEC Webstore|Water Automation, Water Management, Smart City. Available online: https:\/\/webstore.iec.ch\/publication\/4552#additionalinfo."},{"key":"ref_42","unstructured":"(2023, April 19). PLCnext Store|The Open Software Store for Automation. Available online: https:\/\/www.plcnextstore.com\/eu\/."},{"key":"ref_43","unstructured":"Chalapathi, G.S.S., Chamola, V., Vaish, A., and Buyya, R. (2019). Fog\/Edge Computing for Security, Privacy, and Applications, Springer."},{"key":"ref_44","unstructured":"(2023, April 19). Genie Nano-1GigE|Teledyne DALSA. Available online: https:\/\/www.teledynedalsa.com\/en\/products\/imaging\/cameras\/genie-nano-1gige\/."},{"key":"ref_45","unstructured":"(2023, April 19). GigE-V Framework for Linux|Teledyne DALSA. Available online: https:\/\/www.teledynedalsa.com\/en\/support\/downloads-center\/software-development-kits\/132\/."},{"key":"ref_46","unstructured":"Cramer, J. (2023, April 19). Jcramer\/pyGigE-V. Available online: https:\/\/github.com\/jcramer\/pyGigE-V."},{"key":"ref_47","unstructured":"(2023, April 19). REST Data Interface. Available online: https:\/\/www.plcnext-community.net\/infocenter\/rest_data_interface_introduction\/."},{"key":"ref_48","unstructured":"Skachkov, O. (2023, April 19). AlexanderSkachkov\/pyPLCn. Available online: https:\/\/github.com\/AlexanderSkachkov\/pyPLCn."},{"key":"ref_49","unstructured":"Ackerman, P. (2017). Industrial Cybersecurity: Efficiently Secure Critical Infrastructure Systems, Packt Publishing Ltd."},{"key":"ref_50","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1145\/3510410","article-title":"Cybersecurity of Industrial Cyber-Physical Systems: A Review","volume":"54","author":"Kayan","year":"2022","journal-title":"ACM Comput. Surv."},{"key":"ref_51","unstructured":"(2023, April 19). EduNet|Mais Um @ DEE\u2014ESTG\u2014IPLERIA. Available online: https:\/\/sites.ipleiria.pt\/edunet\/."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/24\/3\/843\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T13:50:36Z","timestamp":1760104236000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/24\/3\/843"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,1,28]]},"references-count":51,"journal-issue":{"issue":"3","published-online":{"date-parts":[[2024,2]]}},"alternative-id":["s24030843"],"URL":"https:\/\/doi.org\/10.3390\/s24030843","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,1,28]]}}}