DECISION SUPPORT SYSTEM FOR EXPLANATORY FAULT DIAGNOSIS USING RETRIEVAL-AUGMENTED GENERATION BASED ON ELECTRICAL AND THERMAL VARIABLES
DOI:
https://doi.org/10.52152/Keywords:
fault diagnosis, decision support system, Retrieval-Augmented Generation (RAG)., predictive maintenance, PMSM, three-phase inverter, electrical and thermal variables, explainable artificial intelligenceAbstract
This paper proposes a decision support system for the explainable fault diagnosis in Permanent Magnet Synchronous Motors (PMSM), based on a Retrieval-Augmented Generation (RAG) architecture. The approach integrates temporal measurements (currents and temperatures) with documented phenomenological knowledge. Unlike traditional eXplainable Artificial Intelligence (XAI) tools, which provide numerical importance attribution, the proposed methodology generates semantic reasoning grounded in physical evidence. To ensure operational viability and prevent temporal data leakage, the evaluation is conducted using a 5-fold Time Series Cross Validation (Walk-Forward) on a public dataset of 10,892 samples, comparing the approach against conventional Machine Learning (ML) algorithms. The results demonstrate a clear trade-off between accuracy and explainability: while models such as Random Forest or XGBoost achieve an overall accuracy of 96.47%, the RAG-LLM approach obtains 82.36%. Furthermore, a conservative bias is observed in the RAG architecture regarding incipient faults (Early Recall of 84.3% compared to 99.0% for ML), as well as higher latency. It is concluded that, although traditional ML is optimal for real-time detection, the proposed RAG-LLM model offers significant value as a secondary diagnostic assistant, providing explanations grounded in the retrieved context.
Downloads
Published
License
Copyright (c) 2026 DYNA

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
