Leveraging programmable logic controllers for machine learning applications in industrial setups
| dc.contributor.author | Zamora Arranz, David | |
| dc.contributor.author | García Bringas, Pablo | |
| dc.contributor.author | Gude, Juan José | |
| dc.contributor.author | Ser Lorente, Javier del | |
| dc.date.accessioned | 2026-05-04T08:01:07Z | |
| dc.date.available | 2026-05-04T08:01:07Z | |
| dc.date.issued | 2026-06 | |
| dc.date.updated | 2026-05-04T08:01:06Z | |
| dc.description.abstract | Machine Learning (ML) has become a powerful tool for addressing complex classification and regression tasks in industrial settings. Despite the widespread use of programmable logic controllers (PLCs) in these environments, ML models are typically executed on external computing devices due to inherent PLC limitations: restricted memory capacity, long cycle times, and limited computational power. These constraints hinder the direct deployment of ML algorithms on PLCs and often require additional hardware, increasing system complexity and deployment costs. This paper addresses this challenge by demonstrating the direct implementation of four ML algorithms on a Siemens S7-1516 PLC: Linear Regression, Logistic Regression, k-Nearest Neighbors (kNN), and a Neural Network. In addition, a real-world laboratory prototype modeling the thermal behavior of an industrial 3D printer is presented to illustrate the practical applicability of our research findings. To overcome PLC resource constraints, two optimization strategies are proposed: (1) algorithmic adaptations to reduce execution cycle time, and (2) a custom, high-performance matrix multiplication library designed to replace the naive implementation common in standard tools. We evaluate the performance of the proposed implementations across datasets of varying sizes, comparing the standard TIA Portal functions to our optimized library. The results demonstrate that that the optimized implementations achieve acceptable cycle times and consistently outperform the baseline, confirming the feasibility of efficient, native ML execution on PLCs. These findings open new avenues for embedding ML capabilities directly into PLC-based automation systems, enabling smarter and more autonomous industrial control. | en |
| dc.identifier.citation | Zamora-Arranz, D., Garcia-Bringas, P., Gude, J. J., & Del Ser, J. (2026). Leveraging programmable logic controllers for machine learning applications in industrial setups. Results in Engineering, 30. https://doi.org/10.1016/J.RINENG.2026.110194 | |
| dc.identifier.doi | 10.1016/J.RINENG.2026.110194 | |
| dc.identifier.eissn | 2590-1230 | |
| dc.identifier.uri | https://hdl.handle.net/20.500.14454/5848 | |
| dc.language.iso | eng | |
| dc.publisher | Elsevier B.V. | |
| dc.rights | © 2026 The Author(s) | |
| dc.subject.other | Artificial intelligence | |
| dc.subject.other | Machine learning | |
| dc.subject.other | PLC | |
| dc.title | Leveraging programmable logic controllers for machine learning applications in industrial setups | en |
| dc.type | journal article | |
| dcterms.accessRights | open access | |
| oaire.citation.title | Results in Engineering | |
| oaire.citation.volume | 30 | |
| oaire.licenseCondition | https://creativecommons.org/licenses/by-nc-nd/4.0/ | |
| oaire.version | VoR |
Archivos
Bloque original
1 - 1 de 1
Cargando...
- Nombre:
- zamora_leveraging_2026.pdf
- Tamaño:
- 4.44 MB
- Formato:
- Adobe Portable Document Format