Journal of Intelligent Systems and Internet of Things

Smart Sensor Networks for Industrial IoT Applications

Nihal N. Mostafa, Esmeralda Kazia
Volume 8, Issue 2, pp. 45-53 (2023)
DOI: https://doi.org/10.54216/JISIoT.080204
Online: https://www.americaspg.com/journal/18/article/1603

Abstract

Smart Sensor Networks (SSNs) are an indispensable part of the Industrial Internet of Things (IIoT), which seeks to improve efficiency, productivity, and safety in different industrial applications. SSNs consist of a large number of sensors, regularly deployed in a wireless ad-hoc network, which communicates with each other and with other devices, such as gateways and servers. Nevertheless, the building of SSNs in IIoT environments encounters many challenges, such as trust management, data reliability, privacy, and security. These challenges necessitate proposing novel solutions and protocols, to provide a reliable, secure, and efficient SSN. To this end, this study presents a novel DL system that can effectively discriminate between normal traffics and malicious traffic in SSNs. A convolutional feature extractor is developed to learn important discriminative features necessary for the early detection of security threats in SSNs. Then, an improved LSTM (ILSTM) is presented to model the temporal dynamics of the SSNs flows, which helps model long interdependency between traffic samples. A focal loss function is applied to deal with the imbalance between class samples. Experimental analysis is performed on an open-source SSN security dataset, named WSN-DS, the findings demonstrated the competitive advantages of our system over the prevailing solutions.

Keywords: Industrial Internet of Things ( IIoT); Smart Sensors; Wireless Sensor Networks; Intelligent Models

Smart Sensor Networks for Industrial IoT Applications

Nihal N. Mostafa1,*, Esmeralda Kazia2

1Faculty of Computers and Informatics, Zagazig University, Zagazig, Sharqiyah, 44519, Egypt, 2Faculty of Applied Sciences and Creative Industries,Tirana ,Albania,1001 Emails: nihal.nabil@fci.zu.edu.eg; e.kazia@umb.edu.al

Abstract

Smart Sensor Networks (SSNs) are an indispensable part of the Industrial Internet of Things (IIoT), which seeks to improve efficiency, productivity, and safety in different industrial applications. SSNs consist of a large number of sensors, regularly deployed in a wireless ad-hoc network, which communicates with each other and with other devices, such as gateways and servers. Nevertheless, the building of SSNs in IIoT environments encounters many challenges, such as trust management, data reliability, privacy, and security. These challenges necessitate proposing novel solutions and protocols, to provide a reliable, secure, and efficient SSN. To this end, this study presents a novel DL system that can effectively discriminate between normal traffics and malicious traffic in SSNs. A convolutional feature extractor is developed to learn important discriminative features necessary for the early detection of security threats in SSNs. Then, an improved LSTM (ILSTM) is presented to model the temporal dynamics of the SSNs flows, which helps model long interdependency between traffic samples. A focal loss function is applied to deal with the imbalance between class samples. Experimental analysis is performed on an open-source SSN security dataset, named WSN-DS, the findings demonstrated the competitive advantages of our system over the prevailing solutions. Keywords: Industrial Internet of Things ( IIoT); Smart Sensors; Wireless Sensor Networks; Intelligent Models

Figure

The Industrial Internet of Things (IIoT) is a rapidly growing field that aims to enhance industrial processes and systems through the integration of connected devices, sensors, and machines. The IIoT provides several benefits, such as increased efficiency, productivity, and safety, as well as improved product quality and reduced operational costs. However, the implementation of the IIoT also poses several challenges that need to be addressed. One of the main challenges is the integration of legacy systems, which often use proprietary protocols and technologies, with new IoT devices and systems [1-5]. This requires the development of new standards and protocols to ensure interoperability and seamless integration. Another challenge is the management of large amounts of data generated by IIoT devices and systems. This data needs to be processed, analyzed, and acted upon in real-time to provide actionable insights and enable timely decision-making. This requires the development of new data management and analytics tools and techniques, as well as the integration of existing ones. In addition, the security of IIoT systems and devices is a critical challenge that needs to be addressed. IIoT devices are often deployed in harsh and remote environments, making them vulnerable to cyber-attacks and unauthorized access. This requires the development of new security technologies and protocols to ensure the confidentiality, integrity, and availability of IIoT systems and data. Further, the trust management of IIoT devices and systems is a key challenge, particularly for those deployed in data-sensitive applications, in which devices usually host critical information that needs a high level of trust to deal with it [5-8]. Smart Sensor Networks (SSNs) are a key component of the Industrial Internet of Things (IIoT) and play a crucial role in enabling real-time monitoring, control, and optimization of industrial processes and systems. SSNs are composed of a large number of sensors, often deployed in a wireless ad-hoc network, which communicates with each other and with other devices, such as gateways and servers. The deployment of SSNs in IIoT applications provides several

Figure

 Section 2 presents an analytical review of the state-of-the-art related studies.  Section 3 provides a detailed methodology of the proposed system for securing SSNs in IIoT scenario.  Section 4 debates the performed experiments and the corresponding results.  Section 5 concludes our contributions and findings.

The use of SSNs is becoming increasingly popular in IIoT applications, as it allows for real-time monitoring, data analysis, and optimization of industrial processes. There have been several research studies in this era, and some of the prominent ones are discussed in the following. In [1], the authors presented a stochastic system mobile converge cast and evaluated to learn path period times, by bearing in mind parameters containing network replicas, SSN scope, and agility decorations of network essentials. In [2], the authors presented a secure navigation algorithm for small aerial robots to use within the IIoT of factories, which tried to tackle the inability of micro aerial robots to carry the bulky obstacle detection sensors necessary for local navigation. Their proposed algorithm was guided by SSM comprised of a three-dimensional range finder to prevent colliding with static and moving obstacles in an indoor industrial setting. The micro flying robot needs only a route tracking controller, and it didn’t do any complicated calculations. In [3], the authors presented a tentative study of discriminatory supportive communicating protocols that are executed in off-the-shelf IEEE 802.15.4-compatible campaigns and assessed in an industrial SSN system. They defined three applied relay modernization systems to activate relay selection namely episodic, adaptive; and reactive relay assortments. In [4], the authors developed a routing scheme for enhancing throughput and reductions of end-toend latency in industrial cognitive radio sensor networks (ICRSNs) according to ISA100.11a, whereby the throughput was downgraded through interference from primary SSNs. Their proposed scheme focused on big-scale SSNs, where the data were usually promoted through diverse clusters on the route to the sink. By approximating the supreme route’s throughput, the data could be promoted over the most ideal route. In [5], the authors presented an energy-aware routing protocol, called Energy-Aware Reliable and Quick (EARQ) routing, for industrial SSNs to enhance the reliability and real-time performance of communication while minimizing energy consumption. EARQ utilized a cross-layer approach to achieve energy efficiency, reliability, and real-time performance. It considered the energy levels of the sensor nodes, the transmission rates, and the routing paths. In [6], the authors developed a Q-learning dependable routing with a weighted agent tactic, in which an agent was enabled to adapt to the influences of a cutting-edge graph-routing procedure. The statuses of the agent were signified via a group of scores, and the actions transform the scores throughout the tasks of SSN. These methods assigned the rewards to the agent once the latency of SSN diminutions or the predictable network period upsurges. In [7], the authors presented a clock skew estimation technique for synchronizing nodes in industrial SSN without using timestamps, which was demonstrated problematic because of the limited bandwidth and energy resources of these networks. They developed a two-step strategy that applied a phase-locked loop (PLL) to estimate the frequency difference to estimate the clock skew between nodes, then calculated the clock skew based on the frequency difference and the time difference between the clocks. In [8], the authors investigated the impact of eavesdropping attacks on industrial SSNs and developed a detection method based on a statistical analysis of intercept behavior. This method involved comparing the expected number of intercepted packets to the actual number of intercepted packets to determine if an eavesdropping attack was present. In [9], the authors proposed a Quality of Service (QoS) framework for completely arbitrary hybrid wired/wireless SSN, ensuring that both the latency constraint and the objective dependability of each application are met. Our system includes the first proposed reliability-based scheduling for SSNs that can meet the goal of dependability despite dynamic interference. In [10], the authors presented an obstacle-aware intelligent fault detection scheme for industrial SSNs to improve the accuracy and reliability of fault detection. Their scheme was designed as a two-stage approach, in which a support vector machine (SVM) classifier was applied to identify normal and abnormal operating conditions based on sensor data. Then, a dynamic Bayesian network (DBN) was applied to incorporate obstacle information into the fault detection process and improve the accuracy and reliability of the results. In [11], the authors studied the clock synchronization arrangements of the active node and eavesdropping node with instant clock modification. Then, they used a maximum-likelihood predictor for the clock skew and the conforming Cramer–Rao lower bounds with gaussian delays in consideration.

Figure
Figure 1. visualization of the architecture of the proposed system for detecting security threats in industrial SSNs.
Figure 1. visualization of the architecture of the proposed system for detecting security threats in industrial SSNs.

convolutional filters to the data to extract features that are relevant for intrusion detection. These features are then combined using pooling layers and passed on to one or more fully connected layers for classification. Specifically, by stacking multiple convolutional kernel 𝑘, with learning parameters 𝑤𝑘, and bias 𝑏𝑘, we can express the convolutional feature extraction as follows:

𝑋𝑘= 𝑓(𝑤𝑘∗𝑋𝑘−1 + 𝑏𝑘), (1) The symbol 𝑋𝑘 denote the output of the 𝑘−𝑡ℎ layer. The symbol ∗ denotes convolution operation, while the 𝑓(. ) denote activation procedure. To accelerate the training of our model we choose the rectified linear unit (ReLU) for activating the convolutional kernels in our feature extractor. The 𝑅𝑒𝐿𝑈 could be mathematically defined as follows:

𝑅𝑒𝐿𝑈(𝑋𝑖) = {𝑋𝑖 (𝑋𝑖> 0) 0 (𝑋𝑖≤0) , (2)

To have perfect feature extraction, we need to keep only important features as we go deeper into the network. Pooling layers are generally used in deep networks for downsampling, reducing the spatial dimensions of the feature maps while retaining the most important information. The pooling layer operates on each feature map separately, using a sliding window to extract the maximum or average value in each window. Average pooling is a type of pooling layer, where the average value within each window is taken as the output. Max pooling is the most commonly used type of

Figure

0, 𝑃𝑗 1, 𝑃𝑗 2, 𝑃𝑗 3 … 𝑃𝑗 𝑡), (3) where 𝑄𝑗 signifies the outcome of the pooling area 𝑗, 𝑃𝑗

𝑄𝑗= 𝑀𝑎𝑥(𝑃𝑗
Figure

𝑓𝑡= 𝜎(𝑊𝑓⋅[ℎ𝑡−1, 𝑥𝑡] + 𝑏𝑓) (4) 𝑖𝑡= 𝜎(𝑊𝑖⋅[ℎ𝑡−1, 𝑥𝑡] + 𝑏𝑖) (5) 𝑐𝑡= tanh(𝑊𝑐⋅[ℎ𝑡−1, 𝑥𝑡] + 𝑏𝑐) (6) 𝑜𝑡= 𝜎(𝑊𝑜⋅[ℎ𝑡−1, 𝑥𝑡] + 𝑏𝑜) (7) ℎ𝑡= 𝑜𝑡⋅tanh(𝑐𝑡) (8) By the end of the model, two linear layers are applied to calculate the final decision about the input. The last layer is implemented using SoftMax activation to map the learned information into a probability score between 0 to 1. This can be mathematically expressed as follows:

𝑦̂𝑖= 𝑒𝑦̂𝑖 ∑ 𝑒𝑦̂𝑖 𝐾 𝑘=1

The focal loss is used as our objective during the training, which is formulated as follows:

𝐹𝐿= −∑ 𝑦𝑖(1 −𝑦̂𝑖)𝛾 𝑀 𝑙𝑜𝑔(𝑦̂𝑖), 𝛾≥0 (10) 𝑖=1

where 𝑦𝑖 denote the ground-truth mask, and 𝑦̂𝑖 is the systems’ estimated probability for the i-th class. The 𝛾 denotes concentrating parameter, while (1 −𝑦̂𝑖)𝛾 is the regulating element.

4. Results and Discussion

In this section, we discuss the experimental analysis made to evaluate and understand the behavior of our model. In our experiments, we use the WSN-DS dataset [14] to train and evaluate the proposed system. the dataset contains a total of 374661 belonging to 5 distinct classes namely normal, Blackhole, Grayhole, Flooding, and Scheduling attacks. The class distribution of the WSN-DS dataset is reported in Table 1. it is worth noting that the data suffer from high-class imbalance.

Table 1. Summary statistic of WSN-DS dataset
Table 1. Summary statistic of WSN-DS dataset

E

Figure

A confusion matrix is a popular performance indicator that is used in this work to evaluate the performance of our system. As shown in Figure 2, the confusion matrix is a table composed of four values: true positives (TP), true negatives (TN), false positives (FP), and false negatives (FN), which summarizes the number of correct and incorrect predictions made by a model for each class. From these values, several metrics can be calculated to evaluate the performance of the model, including accuracy, precision, recall (also known as sensitivity), and specificity. It is notable that the proposed system achieved 99% accuracy in detecting normal and TDMA traffics, and detecting the grayhole, blackhole, and flooding with 90%, 82%, and 89% accuracy. This high variability in the detection performance of each class can be attributed to the high-class imbalance in the training data.

Figure 2. confusion matrix of the proposed DL system
Figure 2. confusion matrix of the proposed DL system

More, the classification ability of the proposed model can be further demonstrated by visualizing the training curves for the proposed model by plotting the false positive rate against true positive counterparts. Figure 3 shows the ROC curves for the prediction of our system on different classes, and also displays the area under the curve (AUC) associated with each class. It is worth noting that the AUC value reaches its highest with 99% at normal and TDMA classes, which conforms to our findings from the confusion matrix. In general terms, the proposed system can resist the problem of class imbalance and achieve robust detection performance.

Figure 3. visualization of the ROCAUC curves of the proposed model. Normal=class 0, blackhole=class 1, Grayhole=class 2, Flooding=class 4,  Scheduling=class 3.
Figure 3. visualization of the ROCAUC curves of the proposed model. Normal=class 0, blackhole=class 1, Grayhole=class 2, Flooding=class 4, Scheduling=class 3.
Figure 4. visualization of the training accuracy (left) and training loss curves (right) for the proposed DL system.
Figure 4. visualization of the training accuracy (left) and training loss curves (right) for the proposed DL system.

Beyond and above, the learning curves are an important graphical analysis tool that shows the behavior of a model during the learning process and identifies potential issues such as overfitting or underfitting. Figure 4 shows the learning curves plot two measures over the course of training: the training error (or loss) and the validation error. The training error measures how well the model fits the training data, while the validation error measures how well the model generalizes to new, unseen data. It is notable that the proposed model shows stable and consistent learning behavior during the training phase. Moreover, we could also observe that our model can converge rapidly after 30 epochs.

Figure

[1] Z. Qin, D. Wu, Z. Xiao, B. Fu, and Z. Qin, "Modeling and Analysis of Data Aggregation From

Convergecast in Mobile Sensor Networks for Industrial IoT," in IEEE Transactions on Industrial Informatics, vol. 14, no. 10, pp. 4457-4467, Oct. 2018, doi: 10.1109/TII.2018.2846687. [2] H. Li and A. V. Savkin, "Wireless Sensor Network Based Navigation of Micro Flying Robots in the

Industrial Internet of Things," in IEEE Transactions on Industrial Informatics, vol. 14, no. 8, pp. 3524-3533, Aug. 2018, doi: 10.1109/TII.2018.2825225. [3] N. Marchenko, T. Andre, G. Brandner, W. Masood and C. Bettstetter, "An Experimental Study of Selective

Cooperative Relaying in Industrial Wireless Sensor Networks," in IEEE Transactions on Industrial Informatics, vol. 10, no. 3, pp. 1806-1816, Aug. 2014, doi: 10.1109/TII.2014.2327915. [4] P. T. A. Quang and D. -S. Kim, "Throughput-Aware Routing for Industrial Sensor Networks: Application to ISA100.11a," in IEEE Transactions on Industrial Informatics, vol. 10, no. 1, pp. 351-363, Feb. 2014, doi: 10.1109/TII.2013.2255617 [5] J. Heo, J. Hong and Y. Cho, "EARQ: Energy Aware Routing for Real-Time and Reliable Communication in Wireless Industrial Sensor Networks," in IEEE Transactions on Industrial Informatics, vol. 5, no. 1, pp. 3-11, Feb. 2009, doi: 10.1109/TII.2008.2011052. [6] G. Künzel, L. S. Indrusiak and C. E. Pereira, "Latency and Lifetime Enhancements in Industrial Wireless

Sensor Networks: A Q-Learning Approach for Graph Routing," in IEEE Transactions on Industrial Informatics, vol. 16, no. 8, pp. 5617-5625, Aug. 2020, doi: 10.1109/TII.2019.2941771. [7] H. Wang, F. Yu, M. Li and Y. Zhong, "Clock Skew Estimation for Timestamp-Free Synchronization in

Industrial Wireless Sensor Networks," in IEEE Transactions on Industrial Informatics, vol. 17, no. 1, pp. 90-99, Jan. 2021, doi: 10.1109/TII.2020.2975289. [8] Y. Zou and G. Wang, "Intercept Behavior Analysis of Industrial Wireless Sensor Networks in the Presence of Eavesdropping Attack," in IEEE Transactions on Industrial Informatics, vol. 12, no. 2, pp. 780-787, April 2016, doi: 10.1109/TII.2015.2399691. [9] S. Zoppi, A. Van Bemten, H. M. Gürsu, M. Vilgelm, J. Guck and W. Kellerer, "Achieving Hybrid

Wired/Wireless Industrial Networks With WDetServ: Reliability-Based Scheduling for Delay Guarantees," in IEEE Transactions on Industrial Informatics, vol. 14, no. 5, pp. 2307-2319, May 2018, doi: 10.1109/TII.2018.2803122. [10] G. Kaur, P. Chanak and M. Bhattacharya, "Obstacle-Aware Intelligent Fault Detection Scheme for

Industrial Wireless Sensor Networks," in IEEE Transactions on Industrial Informatics, vol. 18, no. 10, pp. 6876-6886, Oct. 2022, doi: 10.1109/TII.2021.3133347. [11] H. Wang, L. Shao, M. Li, B. Wang and P. Wang, "Estimation of Clock Skew for Time Synchronization

Based on Two-Way Message Exchange Mechanism in Industrial Wireless Sensor Networks," in IEEE Transactions on Industrial Informatics, vol. 14, no. 11, pp. 4755-4765, Nov. 2018, doi: 10.1109/TII.2018.2799595. [12] Osama Maher , Elena Sitnikova, A Trustworthy Learning Technique for Securing Industrial Internet of

Things Systems, Journal of Intelligent Systems and Internet of Things, Vol. 5, No. 1, 2021 : 33-48 doi : https://doi.org/10.54216/JISIoT.050104 [13] M. Magno, D. Boyle, D. Brunelli, E. Popovici and L. Benini, "Ensuring Survivability of Resource-

Intensive Sensor Networks Through Ultra-Low Power Overlays," in IEEE Transactions on Industrial Informatics, vol. 10, no. 2, pp. 946-956, May 2014, doi: 10.1109/TII.2013.2295198. [14] Almomani, I., Al-Kasasbeh, B. and Al-Akhras, M., 2016. WSN-DS: A dataset for intrusion detection systems in wireless sensor networks. Journal of Sensors, 2016. [15] S. Gupta, A. K. Sahoo and U. K. Sahoo, "Wireless Sensor Network-Based Distributed Approach to Identify

Spatio-Temporal Volterra Model for Industrial Distributed Parameter Systems," in IEEE Transactions on Industrial Informatics, vol. 16, no. 12, pp. 7671-7681, Dec. 2020, doi: 10.1109/TII.2020.3004159. [16] Ahmed Abdelmonem , Shimaa S. Mohamed, Internet of Things risks, benefits, challenges in industrial application: Survey, American Journal of Business and Operations Research, Vol. 8 , No. 1, 2022 : 47-59 doi: https://doi.org/10.54216/AJBOR.080105 [17] N. T. Tuan, D. -S. Kim and J. -M. Lee, "On the Performance of Cooperative Transmission Schemes in

Industrial Wireless Sensor Networks," in IEEE Transactions on Industrial Informatics, vol. 14, no. 9, pp. 4007-4018, Sept. 2018, doi: 10.1109/TII.2018.2846671. [18] Lobna Osman, Multi-criteria Decision Making Model for Industrial Arc Welding Robot, International

Journal of Wireless and Ad Hoc Communication, Vol. 4 , No. 1 , (2022) : 19-30 doi: https://doi.org/10.54216/IJWAC.040102 [19] P. Gope, A. K. Das, N. Kumar and Y. Cheng, "Lightweight and Physically Secure Anonymous Mutual

Authentication Protocol for Real-Time Data Access in Industrial Wireless Sensor Networks," in IEEE Transactions on Industrial Informatics, vol. 15, no. 9, pp. 4957-4968, Sept. 2019, doi: 10.1109/TII.2019.2895030. [20] G. Bloom, G. Cena, I. C. Bertolotti, T. Hu, N. Navet and A. Valenzano, "Event Notification in CAN-Based

Sensor Networks," in IEEE Transactions on Industrial Informatics, vol. 15, no. 10, pp. 5613-5625, Oct. 2019, doi: 10.1109/TII.2019.2904082.