Integración de un modelo de inteligencia artificial llm con enfoque rag para dar soporte al mantenimiento, operación y diagnóstico de la planta de procesos análogos (ppa)
| dc.contributor.advisor | Porras Bohada, Jorge Eduardo | |
| dc.contributor.author | Puerto Ramírez, Christian David | |
| dc.contributor.author | Cárdenas Sánchez, Daniel Felipe | |
| dc.creator.email | danielfelipedc12@gmail.com | |
| dc.creator.id | 20242583011 | |
| dc.creator.id | 20242583014 | |
| dc.date.accessioned | 2026-10-27T19:20:48Z | |
| dc.date.available | 2026-10-27T19:20:48Z | |
| dc.date.created | 2026-10-05 | |
| dc.description | Este proyecto de grado presenta el diseño, la implementación y la validación de un asistente conversacional que apoya el mantenimiento, la operación y el diagnóstico de la Planta de Procesos Análogos (PPA) de la Universidad Distrital Francisco José de Caldas, un banco didáctico de tres tanques interconectados con un PLC Allen-Bradley CompactLogix. Como ocurre en muchas plantas con años de uso, su documentación técnica (manuales, bitácoras de práctica, diccionarios de tags y planos) se acumuló en distintas épocas y consultarla manualmente es lento, sobre todo para quien usa el sistema por primera vez. El asistente combina un modelo de lenguaje de gran tamaño (LLM) con generación aumentada por recuperación (RAG): responde preguntas técnicas citando el documento de origen, consulta mediante tool calling el histórico real de sensores capturado desde el PLC por EtherNet/IP y genera alertas de mantenimiento trazables a la documentación. Todo el sistema se ejecuta en local, en un equipo sin GPU. Se validó con un banco propio de 145 preguntas: la exactitud global pasó de 0.29 a 0.624 con una rúbrica de tres niveles, y de 0.618 a 0.723 con una de seis tras un segundo ciclo de mejora, y la selección de herramienta superó el 84 % desde la primera versión. | |
| dc.description.abstract | This undergraduate thesis presents the design, implementation, and validation of a conversational assistant that supports the maintenance, operation, and diagnosis of the Analog Process Plant (PPA) at Universidad Distrital Francisco José de Caldas, a didactic three-tank system interconnected with an Allen-Bradley CompactLogix PLC. As is the case in many plants with years of use, its technical documentation (manuals, practice logs, tag dictionaries, and schematics) has accumulated over different periods, making manual consultation time-consuming, especially for first-time users. The assistant combines a Large Language Model (LLM) with Retrieval-Augmented Generation (RAG): it answers technical questions by citing the source document, uses tool calling to query the actual sensor history captured from the PLC via EtherNet/IP, and generates maintenance alerts traceable to the documentation. The entire system runs locally on a computer without a GPU. It was validated using a custom dataset of 145 questions: overall accuracy increased from 0.29 to 0.624 using a three-level rubric, and from 0.618 to 0.723 using a six-level rubric after a second improvement cycle, while tool selection exceeded 84% from the first version. | |
| dc.format.mimetype | ||
| dc.identifier.uri | http://hdl.handle.net/11349/104208 | |
| dc.language.iso | spa | |
| dc.publisher | Universidad Distrital Francisco José de Caldas | |
| dc.relation.references | J. L. Vega Correa y F. A. Meza Aguilar, "Diseño e implementación de un sistema SCADA para el control de enfriamiento del tanque de agua fría de la planta de procesos análogos (PPA)," Tesis de Ingeniería en Control, Universidad Distrital Francisco José de Caldas, Bogotá D.C., Colombia, 2016. | |
| dc.relation.references | P. N. Torres Castillo y E. D. Suárez Chaparro, "Diseño e implementación de un sistema SCADA para el control PID de nivel y temperatura independientes en dos tanques de la planta de procesos análogos (PPA)," Tesis de Ingeniería en Control, Universidad Distrital Francisco José de Caldas, Bogotá D.C., Colombia, 2018. | |
| dc.relation.references | J. Bokrantz, A. Skoogh, C. Berlin, T. Wuest y J. Stahre, "Smart Maintenance: an empirically grounded conceptualization," International Journal of Production Economics, vol. 223, art. 107534, 2020, doi: 10.1016/j.ijpe.2019.107534. | |
| dc.relation.references | A. K. S. Jardine, D. Lin y D. Banjevic, "A review on machinery diagnostics and prognostics implementing condition-based maintenance," Mechanical Systems and Signal Processing, vol. 20, no. 7, pp. 1483–1510, 2006, doi: 10.1016/j.ymssp.2005.09.012. | |
| dc.relation.references | P. Lewis et al., "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks," en Advances in Neural Information Processing Systems (NeurIPS), vol. 33, pp. 9459–9474, 2020. | |
| dc.relation.references | Y. Gao et al., "Retrieval-Augmented Generation for Large Language Models: A Survey," arXiv preprint arXiv:2312.10997, 2023. | |
| dc.relation.references | J. Lee, B. Bagheri y H.-A. Kao, "A Cyber-Physical Systems architecture for Industry 4.0-based manufacturing systems," Manufacturing Letters, vol. 3, pp. 18–23, 2015, doi: 10.1016/j.mfglet.2014.12.001. | |
| dc.relation.references | Microsoft Learn, "Aumento de los LLM con RAG o ajuste (fine-tuning)," Azure Developer Documentation, 2025. [En línea]. Disponible: https://learn.microsoft.com/es es/azure/developer/ai/augment-llm-rag-fine-tuning | |
| dc.relation.references | I. Yun, H. Kim, J. Lee y S.-G. Lee, "Inter-Turn Fault Diagnosis of Induction Motors Based on Current Vector Pattern Analysis in Stationary Coordinate Frame," Applied Sciences, vol. 15, no. 15, p. 8414, 2025, doi: 10.3390/app15158414. | |
| dc.relation.references | R. Diversi, "An Autoregressive-Based Motor Current Signature Analysis Approach," Sensors, vol. 25, no. 4, p. 1130, 2025, doi: 10.3390/s25041130. | |
| dc.relation.references | S. D. Brito, G. J. Azinheira, J. F. Semião, N. M. Sousa y S. P. Litrán, "Non-Intrusive Low-Cost IoT-Based Hardware System for Sustainable Predictive Maintenance of Industrial Pump Systems," Electronics, vol. 14, no. 14, p. 2913, 2025, doi: 10.3390/electronics14142913. | |
| dc.relation.references | T. C. Krause, Ł. Huchel, D. H. Green, K. Lee y S. B. Leeb, "Nonintrusive Motor Current Signature Analysis," IEEE Transactions on Instrumentation and Measurement, vol. 72, p. 9000213, 2024, doi: 10.1109/TIM.2023.3329450. | |
| dc.relation.references | X. Tian et al., "STV-SC: Segmentation and Temporal Verification Enhanced Scan Context for Place Recognition in Unstructured Environment," Sensors, vol. 22, no. 22, art. 8604, 2022. | |
| dc.relation.references | C. Harbola y A. Purwar, "Prescriptive Agents based on RAG for Automated Maintenance (PARAM)," arXiv preprint arXiv:2508.04714, 2025. | |
| dc.relation.references | M. Jin et al., "TIME-LLM: Time Series Forecasting by Reprogramming Large Language Models," en International Conference on Learning Representations (ICLR), 2024. | |
| dc.relation.references | M. Á. Collado Alonso, "Implementación de técnicas de RAG (Retrieval Augmented Generation) sobre LLM (Large Language Models) para la extracción y generación de documentos en las entidades públicas," Trabajo Fin de Máster, Escuela de Ingeniería Informática, Universidad de Valladolid, Valladolid, España, 2024. | |
| dc.relation.references | A. García Herrera, "LLMs y flujos RAG: uso de modelos de lenguaje para interactuar con PDFs," Trabajo Final de Máster, Universitat Oberta de Catalunya (UOC), 2025. | |
| dc.relation.references | T. Dettmers, A. Pagnoni, A. Holtzman y L. Zettlemoyer, "QLoRA: Efficient Finetuning of Quantized LLMs," arXiv preprint arXiv:2305.14314, 2023. | |
| dc.relation.references | N. W. Nugraha et al., "Implementation of Industrial IoT Integration Using Node-RED and PLC on Cascade Control Level and Flow Plant," Jurnal Penelitian Pendidikan IPA, vol. 11, no. 6, pp. 191–205, 2025. | |
| dc.relation.references | J. J. Pan, J. Wang y G. Li, "Survey of Vector Database Management Systems," arXiv preprint arXiv:2310.14021, 2023. | |
| dc.relation.references | R. K. Mobley, An Introduction to Predictive Maintenance, 2.ª ed. Amsterdam, Países Bajos: Butterworth-Heinemann, 2002. | |
| dc.relation.references | International Organization for Standardization, ISO 17359:2018 Condition monitoring and diagnostics of machines — General guidelines. Ginebra, Suiza: ISO, 2018. | |
| dc.relation.references | Samotics, "Análisis de la firma de corriente del motor (¿Qué y cómo?)," Samotics Blog, 2019. [En línea]. | |
| dc.relation.references | A. Vaswani et al., "Attention Is All You Need," en Advances in Neural Information Processing Systems (NeurIPS), vol. 30, 2017. | |
| dc.relation.references | T. B. Brown et al., "Language Models are Few-Shot Learners," en Advances in Neural Information Processing Systems (NeurIPS), vol. 33, pp. 1877–1901, 2020. | |
| dc.relation.references | A. Grattafiori et al., "The Llama 3 Herd of Models," arXiv preprint arXiv:2407.21783, 2024. | |
| dc.relation.references | Qwen Team, "Qwen2.5 Technical Report," arXiv preprint arXiv:2412.15115, 2024. | |
| dc.relation.references | A. Holtzman, J. Buys, L. Du, M. Forbes e Y. Choi, "The Curious Case of Neural Text Degeneration," en International Conference on Learning Representations (ICLR), 2020. | |
| dc.relation.references | N. Reimers e I. Gurevych, "Sentence-BERT: Sentence Embeddings using Siamese BERT Networks," en Proc. Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 3982–3992, 2019. | |
| dc.relation.references | Z. Nussbaum, J. X. Morris, B. Duderstadt y A. Mulyar, "Nomic Embed: Training a Reproducible Long Context Text Embedder," arXiv preprint arXiv:2402.01613, 2024. | |
| dc.relation.references | Y. A. Malkov y D. A. Yashunin, "Efficient and Robust Approximate Nearest Neighbor Search Using Hierarchical Navigable Small World Graphs," IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 42, no. 4, pp. 824–836, 2020, doi: 10.1109/TPAMI.2018.2889473. | |
| dc.relation.references | S. Robertson y H. Zaragoza, "The Probabilistic Relevance Framework: BM25 and Beyond," Foundations and Trends in Information Retrieval, vol. 3, no. 4, pp. 333–389, 2009. | |
| dc.relation.references | Google Cloud, "¿Qué es la generación aumentada de recuperación (RAG)?," Google Cloud Use Cases, 2024. [En línea]. Disponible: https://cloud.google.com/use-cases/retrieval augmented-generation?hl=es | |
| dc.relation.references | T. Schick et al., "Toolformer: Language Models Can Teach Themselves to Use Tools," en Advances in Neural Information Processing Systems (NeurIPS), vol. 36, 2023. | |
| dc.relation.references | S. Yao et al., "ReAct: Synergizing Reasoning and Acting in Language Models," en International Conference on Learning Representations (ICLR), 2023. | |
| dc.relation.references | Z. Ji et al., "Survey of Hallucination in Natural Language Generation," ACM Computing Surveys, vol. 55, no. 12, art. 248, 2023, doi: 10.1145/3571730. | |
| dc.relation.references | L. Huang et al., "A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questions," arXiv preprint arXiv:2311.05232, 2023. | |
| dc.relation.references | S. Es, J. James, L. Espinosa-Anke y S. Schockaert, "RAGAS: Automated Evaluation of Retrieval Augmented Generation," en Proc. 18th Conference of the European Chapter of the Association for Computational Linguistics: System Demonstrations (EACL), pp. 150–158, 2024. | |
| dc.relation.references | L. Zheng et al., "Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena," en Advances in Neural Information Processing Systems (NeurIPS), vol. 36, 2023. | |
| dc.relation.references | J. Cohen, "A Coefficient of Agreement for Nominal Scales," Educational and Psychological Measurement, vol. 20, no. 1, pp. 37–46, 1960. | |
| dc.relation.references | J. R. Landis y G. G. Koch, "The Measurement of Observer Agreement for Categorical Data," Biometrics, vol. 33, no. 1, pp. 159–174, 1977. | |
| dc.relation.references | E. B. Wilson, "Probable Inference, the Law of Succession, and Statistical Inference," Journal of the American Statistical Association, vol. 22, no. 158, pp. 209–212, 1927. | |
| dc.relation.references | ODVA, The CIP Networks Library, Volume 2: EtherNet/IP Adaptation of CIP. Ann Arbor, MI, EE. UU.: ODVA, Inc. [En línea]. Disponible: https://www.odva.org | |
| dc.relation.references | A. Sarkar e I. Drosos, "Vibe coding: Programming through conversation with artificial intelligence," en Proc. 36th Annual Conference of the Psychology of Programming Interest Group (PPIG 2025), 2025. [En línea]. Disponible: https://arxiv.org/abs/2506.23253 | |
| dc.relation.references | A. Fawzy, A. Tahir y K. Blincoe, "Vibe Coding in Practice: Motivations, Challenges, and a Future Outlook — A Grey Literature Review," en Proc. IEEE/ACM 48th International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP), Río de Janeiro, Brasil, 2026. [En línea]. Disponible: https://arxiv.org/abs/2510.00328 | |
| dc.relation.references | Presidencia de la República de Colombia, "Decreto 1072 de 2015: Decreto Único Reglamentario del Sector Trabajo," 2015. [En línea]. Disponible: https://www.funcionpublica.gov.co/eva/gestornormativo/norma.php?i=72173 | |
| dc.relation.references | Congreso de la República de Colombia, "Ley 1581 de 2012: por la cual se dictan disposiciones generales para la protección de datos personales," 2012. | |
| dc.relation.references | Presidencia de la República de Colombia, "Decreto 1377 de 2013: por el cual se reglamenta parcialmente la Ley 1581 de 2012," 2013. | |
| dc.relation.references | Congreso de la República de Colombia, "Ley 23 de 1982: sobre derechos de autor," 1982. | |
| dc.relation.references | Comisión del Acuerdo de Cartagena, "Decisión 351 de 1993: Régimen Común sobre Derecho de Autor y Derechos Conexos," Comunidad Andina, 1993. | |
| dc.relation.references | Congreso de la República de Colombia, "Ley 1273 de 2009: por medio de la cual se modifica el Código Penal, se crea un nuevo bien jurídico tutelado denominado de la protección de la información y de los datos," 2009. | |
| dc.relation.references | International Electrotechnical Commission, IEC 62443: Industrial communication networks — Network and system security (serie de normas). Ginebra, Suiza: IEC. | |
| dc.relation.references | Departamento Nacional de Planeación, "Documento CONPES 3975: Política Nacional para la Transformación Digital e Inteligencia Artificial," Bogotá D.C., Colombia, 2019. | |
| dc.rights.acceso | Abierto (Texto Completo) | |
| dc.rights.accessrights | OpenAccess | |
| dc.subject | Modelos de lenguaje de gran tamaño | |
| dc.subject | Generación aumentada por recuperación (RAG) | |
| dc.subject | Mantenimiento predictivo | |
| dc.subject | Controlador lógico programable (PLC) | |
| dc.subject | Tool calling | |
| dc.subject | Alucinación | |
| dc.subject.keyword | Large language models | |
| dc.subject.keyword | Retrieval-augmented generation (RAG) | |
| dc.subject.keyword | Predictive maintenance | |
| dc.subject.keyword | Programmable logic controller (PLC) | |
| dc.subject.keyword | Tool calling | |
| dc.subject.keyword | Hallucination | |
| dc.subject.lemb | Ingeniería en Control y Automatizacion -- Tesis y disertaciones academicas | |
| dc.subject.lemb | Inteligencia artificial — Aplicaciones industriales | |
| dc.subject.lemb | Modelos de lenguaje de gran tamaño — Aplicaciones | |
| dc.subject.lemb | Mantenimiento industrial — Automatización | |
| dc.title | Integración de un modelo de inteligencia artificial llm con enfoque rag para dar soporte al mantenimiento, operación y diagnóstico de la planta de procesos análogos (ppa) | |
| dc.title.titleenglish | Integration of an artificial intelligence llm model with a rag approach to support the maintenance, operation, and diagnosis of the analog process plant (ppa) | |
| dc.type | bachelorThesis | |
| dc.type.coar | http://purl.org/coar/resource_type/c_7a1f | |
| dc.type.degree | Investigación-Innovación | |
| dc.type.driver | info:eu-repo/semantics/bachelorThesis |
Archivos
Bloque de licencias
1 - 1 de 1
Cargando...
- Nombre:
- license.txt
- Tamaño:
- 7 KB
- Formato:
- Item-specific license agreed upon to submission
- Descripción:
