Analysis of Fault Classifiers to Detect the Faults and Node Failures in a Wireless Sensor Network
Abstract
:1. Introduction
- Software failures, which lead to malfunction of sensor nodes;
- Hardware failures occur, due to a sensor fault or a signal conditioning circuit fault;
- Communication failures are due to a fault on wireless antenna circuits or wireless protocols.
- Supervised learning: This approach performs a data mining process with a predefined set of labeled classes;
- Unsupervised learning: This method classifies data into unlabeled datasets without prior knowledge;
- Semi-supervised learning: To achieve the best result, the advantages of supervisor learning and unsupervised learning are combined as a hybrid approach;
- The fault-finding mechanism(Sasmita Acharya and Tripathy, 2017) is performed with the following classifiers:
- Support Vector Machine (SVM).
- Convolutional Neural Network (CNN).
- Multilayer Perceptron (MLP).
- Stochastic Gradient Descent (SGD).
- Random Forest (RF).
- Probabilistic Neural Network (PNN).
2. Works on Fault Detection
3. Challenges and Problem Statement
- The WSNs have very minimal resources at every sensor node. The classifiers are used to identify the faults, as they are computed by a simple calculation.
- The location of sensor nodes is hazardous and dangerous environments.
- The fault-finding method mentioned is prompt and quick to reject any loss. This fault-finding method must recognize the faulty data by concerning the correct data, and then the sensor nodes are replaced.
3.1. Faults in WSNs
3.1.1. Gain Fault
3.1.2. Offset Fault
3.1.3. Stuck-at Fault
3.1.4. Spike Fault
3.1.5. Data Loss Fault
3.1.6. Out of Bounds
3.2. Classifiers
3.2.1. SVM
3.2.2. MLP
3.2.3. CNN
- In the first step, the data sensed by the sensor node are to be reduced to a level of acceptance or minimum required level. At this input level, many sensors sense the data at high rates. This high data rate of sensing is not needed to get meaningful full data. This data reduction makes the system faster with an efficient method of sensing.
- The next step in CNN is to process the sensed and received data. Data processing in sensor nodes involves a lot of power and resources. In a neural network, the sensed data are processed on a common point.
- The final step in CNN is to provide communication between all the sensor nodes in the entire network. This process is used to predict the type of fault and classify the sensor nodes in the network. After the classification, the faulty nodes are replaced or connected with other nodes in WSN.
3.2.4. RF
- The number of total features available in the system is referred to as m. From these available features, some of them are selected randomly and they are represented as K.
- Few nodes are chosen from the selected features K, by the method of best split-point. The selected nodes are divided into daughter nodes using the best split method. The above procedure is repeated to get the best tree output from the entire network.
- The prediction target where the maximum voted has been considered as the best result of this RF algorithm.
3.2.5. SGD
3.2.6. PNN
- Input layer: As the PNN is based on the neural network, it has multiple layers of operation in it. The starting point of this algorithm is the input layer. The neurons act as a predictor variable among the available network structures. In WSN, the sensor node’s communication is considered as neurons. In PNN, N number of neurons as groups are available and N—1 neurons are considered as logical variables. For each group, the range of the variable is standardized by adjusting with the offset variable. These calculated values are utilized as input to the following layer of neurons.
- Pattern layer: The next layer of PNN is the pattern layer. At the training phase, each dataset contains a neuron. In every case, the predictor variables and expected target values are stored. After the target case is set, an individual neuron computes the Euclidean Distance (ED) from the midpoint of all other neurons in the layer. The entire process is repeated to get the best ED. Finally, the calculated ED is used in the process with the radial kernel function and sigma values.
- Summation layer: The pattern layer’s output is given as input to the summation layer for further processing in PNN. Each category of output variable has one existing neuron pattern. All the hidden neurons aggregate the collected target data on every training case. These are weighted average values of the pattern neurons. All the collected values are aggregated on the pattern neurons which are forwarded to the output layer.
- Output layer: Data collected from the summation layer are passed to the output layer with the weighted votes for comparisons. The result of these comparisons generates the weighted votes of the target category for each target class. This is referred to as the calculated output of the second layer.
4. System Model
- Data sensing phase;
- Fault injection phase;
- Fault estimation and classification.
5. Simulations and Results
5.1. Datasets
5.2. Results—Scenario I
5.3. Results—Scenario II
6. Conclusions
Author Contributions
Funding
Conflicts of Interest
References
- Akyildiz, I.F.; Su, W.; Sankarasubramaniam, Y.; Cayirci, E. Wireless sensor networks: A survey. Comput. Netw. 2002, 38, 393–422. [Google Scholar] [CrossRef] [Green Version]
- Acharya, S.; Tripathy, C.R. A reliable fault-tolerant ANFIS model based data aggregation scheme for Wireless Sensor Networks. J. King Saud Univ. Comput. Inf. Sci. 2017, 32, 741–753. [Google Scholar] [CrossRef]
- Miao, X.; Liu, Y.; Zhao, H.; Li, C. Distributed Online One-Class Support Vector Machine for Anomaly Detection Over Networks. IEEE Trans. Cybern. 2018, 99, 1–14. [Google Scholar] [CrossRef]
- Gao, Y.; Xiao, F.; Liu, J.; Wang, R. Distributed Soft Fault Detection for Interval Type-2 Fuzzy-model-based Stochastic Systems with Wireless Sensor Networks. IEEE Trans. Ind. Inform. 2018, 15, 334–347. [Google Scholar] [CrossRef]
- Gharamaleki, M.M.; Babaie, S. A New Distributed Fault Detection Method for Wireless Sensor Networks. IEEE Syst. J. 2020, 14, 4883–4890. [Google Scholar] [CrossRef]
- Gu, X.; Deng, F.; Gao, X.; Zhou, R. An Improved Sensor Fault Diagnosis Scheme based on TA-LSSVM and ECOC-SVM. J. Syst. Sci. Complex 2018, 31, 372–384. [Google Scholar] [CrossRef]
- Kumaran, G.; Yaashuwanth, C. E2MR-HOA: Conservation of Energy through Multi-Hop Routing Protocol for WSN’S Using Hybrid Optimization Algorithm. J. Circuits Syst. Comput. 2021, 30, 2150041. [Google Scholar] [CrossRef]
- Muhammed, T.; Shaikh, R.A. An analysis of fault detection strategies in wireless sensor networks. J. Netw. Comput. Appl. 2017, 78, 267–287. [Google Scholar]
- Noshad, Z.; Javaid, N.; Saba, T.; Wadud, Z.; Saleem, M.Q.; Alzahrani, M.E.; Sheta, O.E. Fault Detection in Wireless Sensor Networks through the Random Forest Classifier. Sensors 2019, 19, 1568. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Yuan, Y.; Li, S.; Zhang, X.; Sun, J. A Comparative Analysis of SVM, Naive Bayes and GBDT for Data Faults Detection in WSNs. In Proceedings of the 2018 IEEE International Conference on Software Quality, Reliability and Security Companion, Lisbon, Portugal, 16–20 July 2018; pp. 394–399. [Google Scholar]
- Zidi, S.; Moulahi, T.; Alaya, B. Fault detection in wireless sensor networks through SVM classifier. IEEE Sens. J. 2017, 18, 340–347. [Google Scholar] [CrossRef]
- Cheng, Y.; Liu, Q.; Wang, J.; Wan, S.; Umer, T. Distributed Fault Detection for Wireless Sensor Networks Based on Support Vector Regression. Wirel. Commun. Mob. Comput. 2018, 2018, 1–8. [Google Scholar] [CrossRef]
- Sohrabi, K.; Gao, J.; Ailawadhi, V.; Pottie, G. Protocols for Self-Organization of a Wireless Sensor Network. IEEE Pers. Commun. Mag. 2000, 7, 16–27. [Google Scholar] [CrossRef] [Green Version]
- Swain, R.R.; Khilar, P.M.; Bhoi, S.K. Heterogeneous fault diagnosis for wireless sensor networks. Ad Hoc Netw. 2018, 69, 15–37. [Google Scholar] [CrossRef]
- Swain, R.R.; Khilar, P.M.; Dash, T. Neural network based automated detection of link failures in wireless sensor networks and extension to a study on the detection of disjoint nodes. J. Ambient. Intell. Hum. Comput. 2018, 10, 593–610. [Google Scholar] [CrossRef]
- Zhang, D.; Qian, L.; Mao, B.; Huang, C.; Huang, B.; Si, Y.A. Data-Driven Design for Fault Detection of Wind Turbines using Random Forests and XGboost. IEEE Access 2018, 6, 21020–21031. [Google Scholar] [CrossRef]
- Zhang, X.; Zou, J.; He, K.; Sun, J. Accelerating very deep convolutional networks for classification and detection. IEEE Trans. Pattern Anal. Mach. Intell. 2015, 38, 1943–1955. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Aliakbarisani, R.; Ghasemi, A.; Wu, S.F. A data-driven metric learning-based scheme for unsupervised network anomaly detection. Comput. Electr. Eng. 2019, 73, 71–83. [Google Scholar] [CrossRef]
- Araya, D.B.; Grolinger, K.; ElYamany, H.F.; Capretz, M.A.; Bitsuamlak, G. An ensemble learning framework for anomaly detection in building energy consumption. Energy Build 2017, 144, 191–206. [Google Scholar] [CrossRef]
Fault Probability | Fault Detection Accuracy in % | |||||
---|---|---|---|---|---|---|
PNN | RF | CNN | SGP | MLP | SVM | |
0.1 | 64 | 98 | 87 | 92 | 93 | 92 |
0.2 | 76 | 100 | 72 | 82 | 94 | 93 |
0.3 | 78 | 98 | 86 | 73 | 93 | 98 |
0.4 | 76 | 95 | 90 | 63 | 96 | 94 |
0.5 | 79 | 93 | 61 | 48 | 98 | 96 |
Classifier | Fault Detection Accuracy in % | |||||
---|---|---|---|---|---|---|
Offset | Gain | Stuck-at | Out-of-Bounds | Spike | Data Loss | |
PNN | 75 | 73 | 74 | 75 | 74 | 96 |
RF | 97 | 97 | 96 | 97 | 97 | 90 |
CNN | 79 | 76 | 81 | 76 | 78 | 76 |
SGP | 72 | 71 | 71 | 71 | 71 | 82 |
MLP | 95 | 91 | 92 | 92 | 92 | 99 |
SVM | 95 | 80 | 80 | 78 | 83 | 95 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Gnanavel, S.; Sreekrishna, M.; Mani, V.; Kumaran, G.; Amshavalli, R.S.; Alharbi, S.; Maashi, M.; Khalaf, O.I.; Abdulsahib, G.M.; Alghamdi, A.D.; et al. Analysis of Fault Classifiers to Detect the Faults and Node Failures in a Wireless Sensor Network. Electronics 2022, 11, 1609. https://doi.org/10.3390/electronics11101609
Gnanavel S, Sreekrishna M, Mani V, Kumaran G, Amshavalli RS, Alharbi S, Maashi M, Khalaf OI, Abdulsahib GM, Alghamdi AD, et al. Analysis of Fault Classifiers to Detect the Faults and Node Failures in a Wireless Sensor Network. Electronics. 2022; 11(10):1609. https://doi.org/10.3390/electronics11101609
Chicago/Turabian StyleGnanavel, S., M. Sreekrishna, Vinodhini Mani, G. Kumaran, R. S. Amshavalli, Sadeen Alharbi, Mashael Maashi, Osamah Ibrahim Khalaf, Ghaida Muttashar Abdulsahib, Ans D. Alghamdi, and et al. 2022. "Analysis of Fault Classifiers to Detect the Faults and Node Failures in a Wireless Sensor Network" Electronics 11, no. 10: 1609. https://doi.org/10.3390/electronics11101609
APA StyleGnanavel, S., Sreekrishna, M., Mani, V., Kumaran, G., Amshavalli, R. S., Alharbi, S., Maashi, M., Khalaf, O. I., Abdulsahib, G. M., Alghamdi, A. D., & Aldhyani, T. H. H. (2022). Analysis of Fault Classifiers to Detect the Faults and Node Failures in a Wireless Sensor Network. Electronics, 11(10), 1609. https://doi.org/10.3390/electronics11101609