Enhancing Fault Detection in Wireless Sensor Networks Through Support Vector Machines: A Comprehensive Study
DOI:
https://doi.org/10.18196/jrc.v4i6.20216Keywords:
Wireless Sensor Network, SVM, Faulty Node Detection, Attacked Node, Machine Learning.Abstract
The Wireless Sensor Network (WSN) consists of many sensors that are distributed in a specific area for the purpose of monitoring physical conditions. Factors such as hardware limitations, limited resources, unfavourable WSN deployment environment, and the presence of various attacks on nodes can lead to the presence of Faulty Nodes in a WSN. This raises the problem of detecting Faulty Nodes and avoiding Data loss. Detecting Faulty Nodes in real-world scenarios will improve the quality of a WSN. The research was aimed at developing an algorithm to determine the location of Faulty Nodes in a WSN. The algorithm uses characteristics of Machine Learning and Support Vector Machines (SVM), which use the classification of Data into true and false. A Mathematical Model for determining Faulty Nodes using the SVM is considered. A methodology for detecting a Faulty Node is demonstrated, which consists of Data Collection, Feature Extraction, Training, and Testing the Model. The Results of simulated experiments that were conducted with different numbers of nodes from 50 to 320 are shown. The Model is tested on Data very similar to real-world sensing Data to evaluate the ability of the Model to detect failed nodes and calculate training and testing errors. As a result, the training error is 4.6667%, the accuracy of detecting faulty nodes was 97%. The simulation results demonstrate the high stability of the proposed algorithm and are suitable for network environments with irregular node distribution or coverage gaps. In real scenarios, it can provide a high level of uninterrupted operation of the WSN and lossless data transmission. Shortcomings and prospects in research on fault detection in WSN, such as studying real-world hardware issues and its security, were presented.References
T. M. Ghazal et al., "Internet of Things Connected Wireless Sensor Networks for Smart Cities," The Effect of Information Technology on Business and Marketing Intelligence Systems, pp.1953-1968, 2023.
A. K. Koshariya et al., "Ai-enabled iot and wsn-integrated smart agriculture system," Artificial Intelligence Tools and Technologies for Smart Farming and Agriculture Practices, pp. 200-218, 2023.
R. Muhajjar, A. Nahla, and A. Mishall, "A perfect security key management method for hierarchical wireless sensor networks in medical environments," Electronics, vol. 12, no. 4, p. 1011. 2023.
H. M. Fahmy, "WSNs applications," Concepts, applications, experimentation and analysis of wireless sensor networks, pp. 67-242, 2023.
F. Khan, S. Ahmad, H. Gürüler, G. Cetin, T. Whangbo, and C. Kim, “An Efficient and Reliable Algorithm for Wireless Sensor Network,” Sensors, vol. 21, no. 24, p. 8355, 2021, doi: 10.3390/s21248355.
Z. Nurlan, T. Z. Kokenovna, M. Othman, and A. Adamova, “Resource Allocation Approach for Optimal Routing in IoT Wireless Mesh Networks,” IEEE Access, vol. 9, pp. 153926–153942, 2021, doi:10.1109/access.2021.3123903.
S. S. Banihashemian and F. Adibnia, “A Novel Robust Soft-Computed Range-Free Localization Algorithm Against Malicious Anchor Nodes,” Cognitive Computation, vol. 13, no. 4, pp. 992–1007, 2021, doi: 10.1007/s12559-021-09879-w.
Z. Wei, S. Yu, and W. Ma, “Defending against Internal Attacks in Healthcare-Based WSNs,” Journal of Healthcare Engineering, vol. 2021, pp. 1–10, 2021, doi: 10.1155/2021/2081246.
Z. Nurlan, T. Zhukabayeva, and M. Othman, “IoT Hardware-Defined Routing Protocol for Dynamic Self-organizing Wireless Mesh Networks,” 2020 IEEE 10th International Conference on Consumer Electronics, 2020, doi: 10.1109/icce-berlin50680.2020.9352191.
N. T. Hanh et al., "Node placement optimization under Q-Coverage and Q-Connectivity constraints in wireless sensor networks," Journal of Network and Computer Applications, vol. 212, p. 103578, 2023, doi: 10.1016/j.jnca.2022.103578.
T. K. Dao et al., "An optimal WSN node coverage based on enhanced archimedes optimization algorithm," Entropy, vol. 24, no. 8, p. 1018, 2022.
K. Jain, A. Kumar, and A. Singh, "Data transmission reduction techniques for improving network lifetime in wireless sensor networks: An up‐to‐date survey from 2017 to 2022," Transactions on Emerging Telecommunications Technologies, vol. 34. no. 1, p. e4674, 2023.
U. Panahi and C. Bayılmış, "Enabling secure data transmission for wireless sensor networks based IoT applications," Ain Shams Engineering Journal, vol. 14, no. 2, p. 101866, 2023.
A. Mubarakali et al., "Fog-based delay-sensitive data transmission algorithm for data forwarding and storage in cloud environment for multimedia applications," Big Data, vol. 11, no.2, pp. 128-136, 2023.
S. Wang and Y. Chen, “Optimization of Wireless Sensor Network Architecture with Security System,” Journal of Sensors, vol. 2021, pp. 1–11, 2021, doi: 10.1155/2021/7886639.
N. Stroia, D. Moga, V. Muresan, and A. Lodin, “Estimating Environmental Variables in Smart Sensor Networks with Faulty Nodes,” Proceedings of the 9th International Conference on Smart Cities and Green ICT Systems, 2020, doi: 10.5220/0009394500670073.
R.K. Aaditya and P. Rajpoot, “Optimized H-LEACH algorithm for clustering to improve lifetime of WSN,” 2018 3rd IEEE International Conference on Recent Trends in Electronics, Information & Communication Technology (RTEICT), 2018, doi: 10.1109/rteict42901.2018.9012605.
S. Yu and J. He, “Providing trusted data for industrial wireless sensor networks,” EURASIP Journal on Wireless Communications and Networking, vol. 2018, no. 1, 2018, doi: 10.1186/s13638-018-1307-y.
C. Yi, “En-Route Message Authentication Scheme for Filtering False Data in WSNs,” Security and Communication Networks, vol. 2021, pp. 1–18, 2021, doi: 10.1155/2021/4068507.
R. Morthy et al., “WSN in Defence Field: A Security Overview,” 2020 Fourth International Conference on I-SMAC (I-SMAC), 2020, doi: 10.1109/i-smac49090.2020.9243406.
Z. Nurlan, T. Zhukabayeva, and M. Othman, “EZ-SEP: Extended Z-SEP Routing Protocol with Hierarchical Clustering Approach for Wireless Heterogeneous Sensor Network,” Sensors, vol. 21, no. 4, 1021, 2021, doi: 10.3390/s21041021.
G. Qiao, C. Zhao, F. Zhou, and N. Ahmed, “Distributed Localization Based on Signal Propagation Loss for Underwater Sensor Networks,” IEEE Access, vol. 7, pp. 112985–112995, 2019, doi: 10.1109/access.2019.2934978.
N. Zaarour, N. Hakem, and U. NahiKandil, “Anchor Density Minimization for Localization in Wireless Sensor Network (WSN),” Computer Science and Information Technology Trends, 2021, doi: 10.5121/csit.2021.112201.
A. Manikandan, C. Venkataramanan, and R. Dhanapal, “A score based link delay aware routing protocol to improve energy optimization in wireless sensor network,” Journal of Engineering Research, p. 100115, 2023, doi: 10.1016/j.jer.2023.100115.
M. Ahmad et al., “Optimal Clustering in Wireless Sensor Networks for the Internet of Things Based on Memetic Algorithm: memeWSN,” Wireless Communications and Mobile Computing, vol. 2021, pp. 1–14, 2021, doi: 10.1155/2021/8875950.
M. S. BenSaleh, R. Saida, Y. H. Kacem, and M. Abid, “Wireless Sensor Network Design Methodologies: A Survey,” Journal of Sensors, vol. 2020, pp. 1–13, Jan. 2020, doi: 10.1155/2020/9592836.
H. Bai, X. Zhang, and F. Liu, “Intrusion Detection Algorithm Based on Change Rates of Multiple Attributes for WSN,” Wireless Communications and Mobile Computing, vol. 2020, pp. 1–16, 2020, doi: 10.1155/2020/8898847.
W. Z. Hao, G. J. Horng, and G. J. Jong, “A New Bio-Inspired for Cooperative Data Transmission of IoT,” IEEE Access, vol. 8, pp. 161884–161893, 2020, doi: 10.1109/access.2020.3021507.
Z. Nurlan, T. Zhukabayeva, M. Othman, A. Adamova, and N. Zhakiyev, “Wireless Sensor Network as a Mesh: Vision and Challenges,” IEEE Access, vol. 10, pp. 46–67, 2022, doi: 10.1109/access.2021.3137341.
S. A. Jan, N. U. Amin, M. Othman, M. Ali, A. I. Umar, and A. Basir, “A Survey on Privacy-Preserving Authentication Schemes in VANETs: Attacks, Challenges and Open Issues,” IEEE Access, vol. 9, pp. 153701–153726, 2021, doi: 10.1109/access.2021.3125521.
P. Qi, F. Wang, and S. Hong, “A Novel Trust Model Based on Node Recovery Technique for WSN,” Security and Communication Networks, vol. 2019, pp. 1–12, 2019, doi: 10.1155/2019/2545129.
A. Ullah, M. Azeem, H. Ashraf, A. A. Alaboudi, M. Humayun, and N. Jhanjhi, “Secure Healthcare Data Aggregation and Transmission in IoT—A Survey,” IEEE Access, vol. 9, pp. 16849–16865, 2021, doi: 10.1109/access.2021.3052850.
B. S. Gouda, S. Das, and T. Panigrahi, “Distributed Self Intermittent Fault Diagnosis in Dense Wireless Sensor Network,” International Journal of Computer Networks and Applications, vol. 10, no. 4, p. 603, 2023, doi: 10.22247/ijcna/2023/223315.
R. Deepa and V. Revathi, “Efficient target monitoring with fault‐tolerant connectivity in wireless sensor networks,” Transactions on Emerging Telecommunications Technologies, vol. 34, no. 2, 2022, doi: 10.1002/ett.4672.
A. Srivastava and M. R. Bharti, “Hybrid Machine Learning Model for Anomaly Detection in Unlabelled Data of Wireless Sensor Networks,” Wireless Personal Communications, vol. 129, no. 4, pp. 2693–2710, 2023, doi: 10.1007/s11277-023-10253-2.
Z. Alansari, A. Prasanth, and M. R. Belgaum, “A Comparison Analysis of Fault Detection Algorithms in Wireless Sensor Networks,” 2018 International Conference on Innovation and Intelligence for Informatics, Computing, and Technologies (3ICT), 2018, doi: 10.1109/3ict.2018.8855761.
A. Adamova, T. Zhukabayeva, and Y. Mardenov, "Machine Learning in Action: An Analysis of its Application for Fault Detection in Wireless Sensor Networks," 2023 IEEE International Conference on Smart Information Systems and Technologies, pp. 506-511, 2023, doi: 10.1109/SIST58284.2023.10223548.
F. Fan, S.-C. Chu, J.-S. Pan, C. Lin, and H. Zhao, “An optimized Machine Learning technology scheme and its application in fault detection in wireless sensor networks,” Journal of Applied Statistics, vol. 50, no. 3, pp. 592–609, 2021, doi: 10.1080/02664763.2021.1929089.
A. Javaid et al., “Machine Learning Algorithms and Fault Detection for Improved Belief Function Based Decision Fusion in Wireless Sensor Networks,” Sensors, vol. 19, no. 6, p. 1334, 2019, doi: 10.3390/s19061334.
Z. Noshad et al., “Fault Detection in Wireless Sensor Networks through the Random Forest Classifier,” Sensors, vol. 19, no. 7, p. 1568, 2019, doi: 10.3390/s19071568.
A. Khan et al., “Cuckoo Search-based SVM (CS-SVM) Model for Real-Time Indoor Position Estimation in IoT Networks,” Security and Communication Networks, vol. 2021, pp. 1–7, 2021, doi: 10.1155/2021/6654926.
F. Ahamad, D. K. Lobiyal, S. Degadwala, and D. Vyas, “Inspecting and Finding Faults in Railway Tracks Using Wireless Sensor Networks,” 2023 International Conference on Inventive Computation Technologies (ICICT), 2023, doi: 10.1109/icict57646.2023.10134164.
D. Bzdok, M. Krzywinski, and N. Altman, “Machine Learning: supervised methods,” Nature Methods, vol. 15, no. 1, pp. 5–6, 2018, doi: 10.1038/nmeth.4551
S. Amaran, “An Optimal Grey Wolf Optimization with Fuzzy Support Vector Machine based Intrusion Detection System in Clustered Wireless Sensor Networks,” International Journal of Advanced Trends in Computer Science and Engineering, vol. 9, no. 3, pp. 2655–2661, 2020, doi: 10.30534/ijatcse/2020/25932020.
F. Bao, Y. Wu, Z. Li, Y. Li, L. Liu, and G. Chen, “Effect Improved for High-Dimensional and Unbalanced Data Anomaly Detection Model Based on KNN-SMOTE-LSTM,” Complexity, vol. 2020, pp. 1–17, 2020, doi: 10.1155/2020/9084704.
P. Yadav and S. C. Sharma, “Q-Learning Based Optimized Localization in WSN,” 2023 6th International Conference on Information Systems and Computer Networks (ISCON), 2023, doi: 10.1109/iscon57294.2023.10112130.
R. Prasad and R. K. Baghel, “Self-detection based fault diagnosis for wireless sensor networks,” Ad Hoc Networks, vol. 149, p. 103245, 2023, doi: 10.1016/j.adhoc.2023.103245.
I. Rahmany, H. Mnassri, T. Moulahi, and S. E. Khediri, “Grey Wolf Optimizer Enhanced SVM for IoT Fault Detection,” 2021 International Wireless Communications and Mobile Computing (IWCMC), 2021, doi: 10.1109/iwcmc51323.2021.9498759.
P. Vamsi and A. Chahuan, “Machine Learning Based Hybrid Model for Fault Detection in Wireless Sensors Data,” EAI Endorsed Scal Inf Syst, vol. 7, no. 24, p. e6, 2019.
A. Gautami, J. Shanthini, and S. Karthik, “A Quasi-Newton Neural Network Based Efficient Intrusion Detection System for Wireless Sensor Network,” Computer Systems Science and Engineering, vol. 45, no. 1, pp. 427–443, 2023, doi: 10.32604/csse.2023.026688.
S. Mohapatra, P. M. Khilar, and R. R. Swain, “Fault diagnosis in wireless sensor network using clonal selection principle and probabilistic neural network approach,” International Journal of Communication Systems, vol. 32, no. 16, 2019, doi: 10.1002/dac.4138.
H. S. Kazmi, N. Javaid, M. Awais, M. Tahir, S. Shim, and Y. B. Zikria, “Congestion avoidance and fault detection in WSNs using data science techniques,” Transactions on Emerging Telecommunications Technologies, vol. 33, no. 3, 2019, doi: 10.1002/ett.3756.
I. Azzouz, B. Boussaid, A. Zouinkhi, and M. N. Abdelkrim, “Multi-faults classification in WSN: A deep learning approach,” 2020 20th International Conference on Sciences and Techniques of Automatic Control and Computer Engineering (STA), 2020, doi: 10.1109/sta50679.2020.9329325.
C. Du, W. Li, Y. Rong, F. Li, F. Yu, and X. Zeng, “Research on the application of artificial intelligence method in automobile engine fault diagnosis,” Engineering Research Express, vol. 3, no. 2, p. 026002, 2021, doi: 10.1088/2631-8695/ac01ad.
L. K. Wardhani, R. A. Febriyanto, and N. Anggraini, “Fault Detection in Wireless Sensor Networks Data Using Random Under Sampling and Extra-Tree Algorithm,” 2022 10th International Conference on Cyber and IT Service Management (CITSM), 2022, doi: 10.1109/citsm56380.2022.9935888.
M. Safaei, M. Driss, W. Boulila, E. A. Sundararajan, and M. Safaei, “Global outliers detection in wireless sensor networks: A novel approach integrating time‐series analysis, entropy, and random forest‐based classification.,” Software: Practice and Experience, vol. 52, no. 1, pp. 277–295, 2021, doi: 10.1002/spe.3020.
D. Jana, J. Patil, S. Herkal, S. Nagarajaiah, and L. Duenas-Osorio, “CNN and Convolutional Autoencoder (CAE) based real-time sensor fault detection, localization, and correction,” Mechanical Systems and Signal Processing, vol. 169, p. 108723, 2022, doi: 10.1016/j.ymssp.2021.108723.
L. Hou, L. Liu, and G. Mao, “Machine Fault Diagnosis Method Using Lightweight 1-D Separable Convolution and WSNs With Sensor Computing,” IEEE Transactions on Instrumentation and Measurement, vol. 71, pp. 1–8, 2022, doi: 10.1109/tim.2022.3206764.
S. Chen, Y. Huang, P. Wen, C. Gu, and S. Zhao, "A Fault Diagnosis Platform of Actuators on Embedded IoT Microcontrollers," 2022 Prognostics and Health Management Conference, pp. 210-217, 2022, doi: 10.1109/PHM2022-London52454.2022.00044.
R. R. Shubita, A. S. Alsadeh, and I. M. Khater, "Fault Detection in Rotating Machinery Based on Sound Signal Using Edge Machine Learning," in IEEE Access, vol. 11, pp. 6665-6672, 2023, doi: 10.1109/ACCESS.2023.3237074.
L. Cerdà-Alabern, G. Iuhasz, and G. Gemmi, “Anomaly detection for fault detection in wireless community networks using Machine Learning,” Computer Communications, vol. 202, pp. 191–203, 2023, doi: 10.1016/j.comcom.2023.02.019.
K. Sood, M. R. Nosouhi, N. Kumar, A. Gaddam, B. Feng, and S. Yu, "Accurate Detection of IoT Sensor Behaviors in Legitimate, Faulty and Compromised Scenarios," in IEEE Transactions on Dependable and Secure Computing, vol. 20, no. 1, pp. 288-300, 2023, doi: 10.1109/TDSC.2021.3131991.
P. G. Miathali, “Efficient Machine Learning Classifier for Fault Detection in Wireless Sensor Networks,” Wireless Sensor Networks - Research Issues and Effective Smart Solutions, 2023, doi: 10.5772/intechopen.111462.
M. N. Hasan, S. U. Jan, and I. Koo, "Wasserstein GAN-Based Digital Twin-Inspired Model for Early Drift Fault Detection in Wireless Sensor Networks," in IEEE Sensors Journal, vol. 23, no. 12, pp. 13327-13339, 2023, doi: 10.1109/JSEN.2023.3272908.
M. Kandasamy, S. Anto, K. Baranitharan, R. Rastogi, G. Satwik, and A. Sampathkumar, “Smart Grid Security Based on Blockchain with Industrial Fault Detection Using Wireless Sensor Network and Deep Learning Techniques,” Journal of Sensors, vol. 2023, pp. 1–13, 2023, doi: 10.1155/2023/3806121.
L. Li, W. Meng, X. Liu, and J. Fei, “Research on Rolling Bearing Fault Diagnosis Based on Variational Modal Decomposition Parameter Optimization and an Improved Support Vector Machine,” Electronics, vol. 12, no. 6, p. 1290, 2023, doi: 10.3390/electronics12061290.
V. Vapnik and R. Izmailov, “Reinforced SVM method and memorization mechanisms,” Pattern Recognition, vol. 119, p. 108018, 2021, doi: 10.1016/j.patcog.2021.108018.
Z. Qin and Q. Li, “An uncertain support vector machine with imprecise observations,” Fuzzy Optimization and Decision Making, vol. 22, no. 4, pp. 611–629, 2023, doi: 10.1007/s10700-022-09404-0.
M. S. Rajan et al., “Diagnosis of fault node in wireless sensor networks using adaptive neuro-fuzzy inference system,” Applied Nanoscience, vol. 13, no. 2, pp. 1007–1015, 2021, doi: 10.1007/s13204-021-01934-0.
P. Yadav and S. C. Sharma, “A Systematic Review of Localization in WSN: Machine Learning and Optimization‐Based approaches,” International Journal of Communication Systems, vol. 36, no. 4, 2022, doi: 10.1002/dac.5397.
F. Righetti, C. Vallati, D. Rasla, and G. Anastasi, “Investigating the CoAP Congestion Control Strategies for 6TiSCH-Based IoT Networks,” IEEE Access, vol. 11, pp. 11054–11065, 2023, doi: 10.1109/access.2023.3241327.
W. Gui, Q. Lu, M. Su, and F. Pan, “Wireless Sensor Network Fault Sensor Recognition Algorithm Based on MM* Diagnostic Model,” IEEE Access, vol. 8, pp. 127084–127093, 2020, doi: 10.1109/access.2020.3008255.
A. Karyawati, K. D. Y. Wijaya, and I. W. Supriana, "A Comparison of Different Kernel Functions of SVM Classification Method for Spam Detection," JITK (Jurnal Ilmu Pengetahuan dan Teknologi Komputer), vol. 8, no. 2, pp. 91-97, 2023.
S. Idris, T. Karunathilake, and A. Förster, "Survey and comparative study of LoRa-enabled simulators for internet of things and wireless sensor networks," Sensors, vol. 22, no.15, p. 5546, 2022.
R. Ahmad, R. Wazirali, and T. Abu-Ain, "Machine learning for wireless sensor networks security: An overview of challenges and issues," Sensors, vol. 22, no.13, p.4730, 2022.
O. S. Egwuche, A. Singh, A. E. Ezugwu, J. Greeff, M. O. Olusanya, and L. Abualigah, “Machine learning for coverage optimization in wireless sensor networks: a comprehensive review,” Annals of Operations Research, pp. 1-67, 2023.
M. Gillani, A. Niaz, and M. Tayyab, "Role of machine learning in WSN and VANETs," International Journal of Electrical and Computer Engineering Research, vol. 1, no.1, pp. 15-20, 2021.
S. Gnanavel et al., "Analysis of fault classifiers to detect the faults and node failures in a wireless sensor network," Electronics, vol. 11, no. 10, p. 1609, 2022.
G. Lăzăroiu et al., "Deep learning-assisted smart process planning, robotic wireless sensor networks, and geospatial big data management algorithms in the internet of manufacturing things," ISPRS International Journal of Geo-Information, vol. 11, no.5, p. 277, 2022.
F. Mezrag, S. Bitam, and A. Mellouk, "An efficient and lightweight identity-based scheme for secure communication in clustered wireless sensor networks," Journal of Network and Computer Applications, vol. 200, p. 103282, 2022.
R. Nagaraju et al., "Secure routing-based energy optimization for IOT application with heterogeneous wireless sensor networks," Energies, vol. 15, no.13, p. 4777, 2022.
Downloads
Published
Issue
Section
License
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
This journal is based on the work at https://journal.umy.ac.id/index.php/jrc under license from Creative Commons Attribution-ShareAlike 4.0 International License. You are free to:
- Share – copy and redistribute the material in any medium or format.
- Adapt – remix, transform, and build upon the material for any purpose, even comercially.
The licensor cannot revoke these freedoms as long as you follow the license terms, which include the following:
- Attribution. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- ShareAlike. If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
- No additional restrictions. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
• Creative Commons Attribution-ShareAlike (CC BY-SA)
JRC is licensed under an International License