Journal of Fuzzy Systems and Control. Vol. No 2, 2025 ISSN: 2986-6537. DOI: 10. 59247/jfsc. ANFIS-Based Fault Detection in Brushed and Brushless DC Motors: A Hybrid Intelligence Approach Arunava Chatterjee Department of Electrical Engineering. Raghunathpur Government Polytechnic. Purulia. India Email: arunava7. ju@gmail. AbstractAiElectric motors are a key component in industrial automation and renewable energy systems. Faults like short-circuit and overload conditions may cause performance deterioration, overheating, or even permanent Conventional fault detection techniques depend on threshold-based methods, which are not efficient in handling nonlinear system behavior. The following research introduces an Adaptive Neuro-Fuzzy Inference System (ANFIS) method for fault detection of short-circuit and overload faults in BLDC and DC motors. Through the assessment of input parameters like current, voltage, speed, and temperature, the model efficiently classifies fault conditions with greater accuracy than traditional methods. The outcomes affirm the capability of ANFIS in dealing with nonlinear relationships and enhancing fault detection reliability. KeywordsAiAdaptive Neuro Fuzzy Inference System (ANFIS). Brushless DC Motor. Fault Detection. Fuzzy Logic. Motor Faults INTRODUCTION DC and BLDC motors are commonly employed in industrial processes because they are controllable and Use of DC machines is prevalent in traction and automation purposes as they are a better alternative for their purposes due to their characteristics. BLDC, on the other hand, has applications for industries as well as household appliances due to their high torque per weight ratio and easy However, nowadays. DC motor usage is much diminished in conventional industries. In industries, mostly industrial machines are used, and conventional fault detection practices are conducted . DC motors, in contrast, are mostly vulnerable to common faults. They are susceptible to faults such as short circuits and overloads, which can lead to operation failure . Conventional fault detection methods use fixed thresholds, which are not effective in coping with changing motor conditions. overcome this shortcoming, artificial intelligence (AI)-based methods have been investigated, of which ANFIS is a promising one. BLDC motors, on the other hand, have faults like DC motors as overload and short-circuit faults. Moreover, they also suffer from drive circuit faults and faults of the Hall-effect sensors in the drives. In previous literature, the short-circuit faults . and inverter drivers . have been studied extensively. The use of intelligence techniques in fault detection is not properly utilized, as there are computational problems associated with them, often when used in online applications. In BLDC motors, intelligent techniques are, however, often used for minimizing the switching losses and increasing the efficiency of the motors . or for motor control . It is, however, shown that the intelligent techniques can often be used for such control or even for effective fault detection for motors . , . Recently, fuzzy. ANN, or even IoT-based applications are also used for control of such motors and generation control purposes, especially for either loss minimization or better control opportunities . Even optimization techniques are quite common . , . for optimizing power requirements and reducing losses. ANFIS is a combination of the learning ability of Artificial Neural Networks (ANN. and the reasoning power of Fuzzy Logic Systems (FLS) and can be used to process nonlinear and uncertain data. The dynamic adaptability of this hybrid ANFIS to emerging fault conditions makes it the ideal solution for real-time fault detection. Herein, this paper discusses the design and application of an ANFIS-based fault detection system for DC motors in terms of its potential for distinguishing short-circuit and overload faults with high accuracy. This research develops an ANFIS-based fault detection system for DC and BLDC motors, focusing on identifying DC and BLDC motor faults. The system leverages sensor data . urrent, voltage, speed, and temperatur. to classify motor conditions. The study involves data collection, preprocessing. ANFIS model development, training, and evaluation using performance There are certain advantages of the technique: A Hybrid AI approach. Unlike traditional threshold-based fault detection. ANFIS combines neural networks and fuzzy logic to handle nonlinearities in motor behavior. A Adaptive learning and fine-tuning. The model dynamically adjusts membership functions and rule bases, improving real-time adaptability. A Potential for real-time deployment. Proposes embedded system integration and AI diagnostics for predictive The proposed methodology is described in Section i with emphasis on motor faults. Further in Section A, the ANFIS-based fault detection is detailed. Data collection and ANFIS model development are discussed in Section B. Section C, respectively. The simulation and experimental results, and discussions are presented in Section IV. The conclusions and future scope are presented in Section V. II. MOTOR FAULTS AND THEIR IMPACT BLDC and DC motor performance and reliability can be significantly impacted by many fault conditions. Insulation This work is licensed under a Creative Commons Attribution 4. 0 License. For more information, see https://creativecommons. org/licenses/by/4. Journal of Fuzzy Systems and Control. Vol. No 2, 2025 breakdown results in short-circuit faults, which will lead to motor burnout, overheating, and abnormal current flow. Overheating, efficiency loss, and low-speed and overload faults can happen in an overloaded motor. BLDC motors can be made to operate randomly due to faults in the Hall sensors, leading to incorrect commutation. The open-circuit fault, where an inefficient phase winding results in efficiency loss and torque loss, is another major fault category in BLDC motors. Nonlinearity of the motor under changing operating conditions complicates the detection of such faults. Classical fault detection methods are thresholdbased methods, which may not be dynamic enough to handle changing operating conditions. For simplicity. Hallsensor faults are not discussed here, and these types of faults can be mitigated using sensible usage and further rectified by replacement of the sensors in the BLDC drives. From Fig. 1, the motor features are extracted via different sensors. The data are then pre-processed using min-max scaling and noise filtering. The data is then sent to ANFIS classifiers, and fuzzy inference is generated using the genfis command in MATLAB. Rules are framed for fault detection. Then the classifier is trained using least squares estimation and Voltage Feature Extraction Speed Temperature Data Classification Training Current temperature that vary with changing fault conditions. ANFIS flexibility allows it to detect normal operation and fault conditions such as short circuits and overloads in DC and BLDC motors. For fault detection, the input parameters are mapped to an initial fuzzy inference system (FIS), which is trained. The number of membership functions for each input is a critical factor in determining model complexity and accuracy. Although increasing the number of membership functions enhances precision, it increases the computational load and memory requirements. Therefore, the trade-off between model complexity and accuracy must be managed with care. One of the primary concerns in the application of ANFIS for motor fault detection is model generalization vs. The system can become computationally costly if the rule base becomes too large. Thus, techniques such as feature selection, dimensionality reduction, and rule simplification are used to optimize performance. Training epoch tuning, membership function tuning, and learning rate tuning also optimize fault classification accuracy. The dynamic adaptability of ANFIS to emerging fault conditions makes it the ideal solution for real-time fault detection and predictive maintenance in industrial motor applications. The hybrid ANFIS structure is shown in Fig. Neural Network Fault Diagnosis Inputs Fuzzy Inference BackSystem Least Squares Estimation Fig. Proposed motor fault detection and classification i. PROPOSED METHOD Adaptive Neuro-Fuzzy Inference System (ANFIS) for Fault Detection ANFIS is a hybrid intelligent system that combines the data-driven learning property of Artificial Neural Networks (ANN. and the reasoning and decision-making strength of Fuzzy Logic Systems (FLS). The structure of ANFIS includes five basic layers: the fuzzification layer, which represents numerical inputs with fuzzy values. the rule layer, where the fuzzy IF-THEN rules are processed based on conditions specified. the normalization layer, which scales the strengths of the activation in the rules such that they equal one. the defuzzification layer, where fuzzy outputs are converted to crisp values. and the final output layer, where the system classification output is derived. The main strength of ANFIS lies in its potential to learn from data without trading interpretability, which makes the system an apt one for application in complex nonlinear fault detection schemes. ANFIS employs adaptive learning techniques to adjust the membership functions and rule base to optimize the accuracy of fault classification. ANFIS is trained using a hybrid learning algorithm with least squares estimation and backpropagation with gradient descent to minimize error. ANFIS can accurately model dynamic motor parameter relationships between current, voltage, speed, and Error Fig. Proposed hybrid ANFIS fault detection structure The figure shows a hybrid Adaptive Neuro-Fuzzy Inference System (ANFIS) for detecting faults in DC and BLDC motors. It shows the integration of Artificial Neural Networks (ANN. and Fuzzy Logic Systems (FLS) for improving fault class accuracy. The system takes input parameters such as current, voltage, speed, and temperature as inputs, which are processed through a fuzzy inference Fuzzy IF-THEN logic rules are used in the rulebased engine to determine faulty conditions, and ANFIS adapts these rules based on a hybrid learning algorithm using backpropagation. It is then further refined using least squares estimation. The output of the program indicates motor operating conditions as normal or faulty . hort circuit, overload, or open circuit in BLDC motor. The proposed method enhances fault detection by learning nonlinear system dynamics. It is shown to be a reliable method for real-time diagnostics and predictive maintenance of such motors with precision. The system can thus also be embedded in a microcontroller for real-time applications. Data Collection and Preprocessing The input data for this study are sensor measurements of DC and BLDC motors, each in healthy and fault conditions. The most critical input parameters are the current, voltage. Arunava Chatterjee. ANFIS-Based Fault Detection in Brushed and Brushless DC Motors: A Hybrid Intelligence Approach Journal of Fuzzy Systems and Control. Vol. No 2, 2025 speed, and temperature data for BLDC motors. These parameters are chosen because they are directly related to motor health. The data are either real-time captured or For better model performance, the normalization technique min-max scaling is applied to normalize the input Feature engineering is also performed to remove redundant parameters and reduce computational burden. Moreover, the data are filtered for the best results. The preprocessed data are split into training and test sets so that the model is validated on unseen samples to prevent For ANFIS models in classification tasks, the data samples used for the training set: 60%, the validation set: 20%, testing set: 20%. The workflow diagram summarizing steps from data acquisition to classification is shown in Fig. Data Acquisition . hrough sensor. Data Preprocessing (Remove noise, normalize/scale the dat. Feature extraction (Identify important features for classification, e. statistical features, frequency component. Data Splitting (Into training, validation, and test set. Model Selection (ANN). Model Training (Train using backpropagatio. Model Evaluation (Check accuracy, precision, recall, and other metric. Model Testing (Test the model on the test set to check generalizatio. Classification/Prediction (Use the trained model to classify new, unseen data or make prediction. Post-Classification Analysis (Analyze the results for insights, such as prediction accuracy, errors, and possible improvement. Fig. Workflow diagram summarizing steps from data acquisition to In the above workflow diagram, the usage of ANN helps in reinforcement, combining fuzzy logic with neural networks to adaptively tune rules based on error metrics. With new live data input, the same is reinforced using the adaptive feature of the ANN method. This is the advantage of using the ANN method with the hybrid approach as proposed in the work. ANFIS Model Development The ANFIS model is implemented from a fuzzy inference system (FIS) with membership functions for every input parameter. Membership functions are chosen from the generalized bell function . , which yields smooth transitions among fuzzy regions. Model parameters are tuned using the hybrid learning algorithm with least squares estimation and backpropagation. The training process is carried out over several epochs to fine-tune the rule base and the membership functions. Performance is estimated using metrics such as accuracy, confusion matrix, and root mean square error (RMSE). Fine-tuning involves adjusting the number of membership functions, simplifying the rule base, and increasing training epochs to enhance accuracy without excessive computational complexity. The whole system is tested using MATLAB simulations and experiments performed on a laboratory-scale DC motor prototype. The training of the ANFIS model is done on real-time obtained experimental data by simulating a fault on the MATLAB system and from the laboratory prototype. Fault conditions, such as short-circuit and overload faults of motors, are simulated physically on a laboratory model with sensors that measure the critical parameters of current, voltage, speed, and temperature. Simultaneously. MATLAB/Simulink is used to simulate the corresponding fault conditions with controlled parameters to generate additional data, such as a wide range of fault conditions. The data so obtained is preprocessed, normalized, and formatted into input-output pairs, sensor values as input, and the nature of the fault as output classification. Such a type of dataset is utilized to train the ANFIS model, which adapts its fuzzy rules and membership functions using a hybrid learning algorithm. The algorithm utilizes least squares estimation and backpropagation. This training process subsequently allows the model to effectively capture the nonlinear characteristics of motor faults and predict real operating conditions. In this paper, several input parameters are 4 . urrent, voltage, speed, temperatur. The number of membership functions per input is 3. The total fuzzy rules used is 81. Also, the type of membership function used is Generalized bell-shaped . IV. RESULTS AND DISCUSSION The model is built using MATLAB programming with inbuilt models in MATLAB Simscape and the power electronics toolboxes. Also, experimental real-time data is collected from a laboratory-scale model. Data logging and collection are done using a microcontroller and voltage, current, and temperature sensors. Fig. 4 shows a scatter plot comparing actual fault versus predicted fault classes. The test samples are shown on the xaxis, and the y-axis shows the fault types, where 0 indicates normal operation, 1 indicates a short-circuit fault, and 2 indicates an open-circuit fault condition. Blue circles are actual fault labels from the dataset. Predicted fault labels from the ANFIS model are shown by red stars. A perfect detection is indicated by the alignment of the blue circles and red stars. From the figure, the ANFIS fault detection accuracy is found as 93. 33%, which is higher than other available techniques. Fig. ANFIS fault detection performance The confusion matrix for the predicted and actual faults is shown in Fig. From Fig. 5 it can be concluded that the predicted fault matches highly with the actual fault class. Classes 1, 2, and 3 in the figure represent the normal operation . ealthy moto. , short circuit fault, and overload fault, respectively. Fig. 6 shows a similar confusion matrix Arunava Chatterjee. ANFIS-Based Fault Detection in Brushed and Brushless DC Motors: A Hybrid Intelligence Approach Journal of Fuzzy Systems and Control. Vol. No 2, 2025 for BLDC motor open-circuit fault prediction only. The confusion matrices also prove that the predicted faults could be well classified using the proposed ANFIS-based classifier with quite good accuracy. detection problem. Further, a quantitative statistical comparison is done with the available techniques and with the proposed ANFIS-based technique. The other techniques are also implemented using MATLAB programs. The result for the same is tabulated in Table 2. Fig. Laboratory experimental prototype Table 1. Fig. Confusion matrix for the fault detection performance of the DC Obtained experimental data Current (A) Voltage (V) Speed (RPM) Temp (AC) Class (Outpu. 1 (Norma. 2 (ShortCircui. 3 (Overloa. Fig. Confusion matrix for the fault detection performance of the BLDC The experimental setup is shown in Fig. The circuit consists of a DC motor of 24V and a relay-based switch operated using a transistor (SC1. for switch operation during any fault condition. The faults are simulated on the motor, and the sensed data from voltage and current sensors (ZMPT101B and ACS712, respectivel. are fed to the Arduino Nano microcontroller for fault classification and necessary motor operation. The LM35 temperature sensor is also used for sensing the temperature, which is not shown in the figure, as it is connected near the motor enclosure. The speed is sensed using an optical digital tachometer. The experimental data obtained sample is shown in Table 1. Fig. 8 shows the actual fault versus the predicted faults using the experimental setup. The faults are detected with ease, barring a few misclassifications due to a lack of better experimental data sampling. The calculated root mean squared error (RMSE) is found to be 0. 6307, which is quite decent for a three-class fault Fig. ANFIS fault detection performance for various faults Table 2. Method Threshold ANN T1FLC Proposed ANFIS Statistical comparison of fault detection methods Accuracy (%) RMSE Precision Recall The statistical comparison reveals that the proposed ANFIS-based fault detection system outperforms Arunava Chatterjee. ANFIS-Based Fault Detection in Brushed and Brushless DC Motors: A Hybrid Intelligence Approach Journal of Fuzzy Systems and Control. Vol. No 2, 2025 conventional methods. It also has the highest accuracy and lowest RMSE. Additionally, the model demonstrates strong robustness, with a precision of 0. 94 and a recall of 0. resulting in an F1 score of 0. In contrast, the thresholdbased method significantly lags in performance, highlighting its limitations in handling nonlinear motor CONCLUSION This research proves the efficacy of ANFIS in DC motor short-circuit, overload, and BLDC motor-related fault The model can classify faults accurately and under nonlinear conditions, as shown by the confusion matrices and RMSE measures. The classification accuracy is much better, 93. 33%, than other techniques. Moreover, the RMSE value obtained is 0. 6307, which is decent for a threeclass fault identification problem. The proposed method is better than conventional threshold-based techniques by applying adaptive learning and fuzzy logic reasoning, as also shown by the statistical comparison. Some limitations may exist, such as computational complexity and overfitting when applying large rule bases, which is common to such Real-time implementation using embedded hardware and hybrid methods that integrate ANFIS with deep learning methods for predictive maintenance improvement will be addressed in the future. The application of real-time sensor combination methods and the investigation of cloud-based AI diagnostics can further enhance the applicability of ANFIS-based fault detection in industrial applications in the future. REFERENCES