Highly Reliable Decision-Making Using Reliability Factor Feedback for Factory Condition Monitoring via WSNs

Cooperation among sensors in a wireless sensor network, deployed for industrial monitoring in an indoor scenario, is a topic of interest in the smart factory and smart city research.The indoorwireless communication channel is very harsh and the observations of all the sensors cannot be sent reliably to the base station. Failure to transmit correct sensing results to the base station may result in false alarms or missed detection of events.Therefore, we propose a cooperation scheme for the wireless sensors to send the data reliably to the base station. Our aim is to increase the reliability of the received information, reduce the probability of error, lower the overall power consumption, and keep the latency to an acceptable low level. We propose a reliability factor feedback algorithm to adjust the weight of unreliable sensors in the decision-making process.The proposed scheme is analyzed based on its latency, power consumption, and packet delivery ratio. Our results show significant improvement in the reliability of the received data, improved packet delivery, and reduced false alarm ratio for full repetition and cluster head-based cooperation.The power consumption and latency in data transmission are also kept to an acceptable low level.


Introduction
With the advancement in Internet-of-Things (IoT) and the drive towards smart factory goal, industrial wireless sensor networks (IWSNs) are becoming increasingly important in monitoring the indoor industrial area.The wireless communication link plays a very important role in transmitting the sensed information to a processing unit located in the base station (BS).A broken communication link or a fault in the sensor leads to false alarms or missed detection of events at the BS.This situation may also cause the nodes to repeat transmissions of the data or use higher transmit power leading to higher energy consumption and lower overall throughput of the network.The energy consumption per bit of the network is also affected negatively by the amount of data transmitted by the network nodes and the processing required at the receiver.
In order to improve the reliability of the received information at the BS, a number of methods have been proposed, including cooperation among wireless nodes to reduce the error due to bad channel conditions.These methods include network coding [1][2][3], packet loss issues in wireless traffic [4], and relay selection mechanism in networked control system (NCS) for successful cooperative transmission in industrial environments [5].The work in [6] proposes an energy-efficient scheme to improve packet delivery by using a reliable reactive routing enhancement (R3E) protocol.For the amplify-and-forward (AF) based cooperative communication systems, an adaptive-gain M-relay AF scheme was proposed in [7] in order to achieve good error-rate performance.A solution for machine condition monitoring (MCM) in large factories, which reduces the energy consumption and improves the network throughput, was proposed in [8].In order to reduce the probability of false alarms sent by the sensors, the work in [9] presents an IWSN-based MCM system.When cooperation among sensor nodes is used in a network consisting of multiple sensors, the aggregation and processing of data at the intermediate sensor nodes play an important role in the performance and energy consumption of the cooperative multihop communication system.Since all the packets are addressed to a single destination and the size of data packets is usually small, therefore, a reduction in the size of control packet overhead and the number of transmissions can improve the energy efficiency, and throughput, of the system [10][11][12].
Our recently proposed solution [13] reduces the probability of error in the received information at the BS by using cooperation and data aggregation at the relay nodes.However, [13] uses full repetition of the aggregated data in the cooperation group, which results in an unnecessary redundancy and leads to significant reduction in the throughput, which may be critical to the performance of the network.An improvement to [13] was proposed in [14] by performing partial repetition of the aggregated data at the intermediate nodes with the help of cluster heads.This method reduces the amount of transmissions required to transmit the same information to the BS and also reduces the latency at the expense of some reduction in performance.In the schemes in [13,14], all the sensors in a cooperation group only share their observations with each other in the first phase unlike [1][2][3] in which the data is also received at the BS in the first phase.In the second phase, the cooperative information is sent to the BS by either using a full repetition mechanism [13] or using a selected number of cluster head (CH) nodes [14].In these methods, the relays only detect the received symbols and do not need to decode the symbols, unlike the method in [1][2][3].The detected symbols are then used in the cooperation phase even if not correctly received.In order to ensure successful packet delivery, schemes like [5,6] incur the extra overhead of retransmission but our proposed scheme does not require retransmission.Therefore, it simplifies the hardware and signal processing requirements of the relay node.
This work combines the data aggregation and cooperation mechanisms to improve the reliability of the information received at the BS as well as keeping the redundancy overhead to a certain limit in order to perform with low latency.In this paper, we introduce a parameter called reliability factor, which keeps track of the reliability of information received from a sensor.The reliability factor is obtained by comparing the received information from a senor with the final result, which is obtained after fusion of the information received from all the sensors within the cooperation group.Based on the reliability factor, we propose an algorithm called reliability factor feedback algorithm (RFFA) to improve the reliability of the final result by adjusting the weights of each participating sensor node in the fusion and decision-making process.A comparison of the latency in data communication and power consumption has been presented between the noncooperation, full repetition (F-Rep.),and cluster headbased cooperation schemes.Also, the packet delivery rate and false alarm rate of the proposed scheme have been compared with some previous related works.
The rest of the paper is organized as follows.Section 2 presents the system model.Section 3 describes the operation of the network.Section 4 presents the performance analysis of the proposed scheme.Section 5 presents simulation results, and Section 6 concludes the paper.

System Model
A WSN with indoor non-line-of-sight (NLOS) configuration is considered.The sensor nodes are organized into different cooperation groups based on their geographic proximity to each other.Cooperative transmission is performed within each cooperation group, V = {  }  =1 , where  is the maximum number of nodes in a cooperation group.Each node in a cooperation group is able to communicate with the BS in a dual-hop manner.The channels from a source node to an intermediate node, , and the channels from an intermediate node to the destination, , are modeled as lognormal distributed Rayleigh fading channels.
. .Sensor Coverage and Connectivity.For the purpose of condition monitoring inside an industrial building, the sensors need to be deployed in the form of a static grid or may be deployed randomly.For the deployment of sensor network, we used the static-triangular grid deployment method [15].The minimum number of sensors required to provide 1coverage to an area of length, l, and breadth, b, is N = 2/( 2 √ 27), where 1-coverage means that any point in the respective area is covered by at least one sensor and r represents the sensing radius of a sensor.This results in an optimal and regular deployment of sensor nodes making a triangular grid structure.In the resulting triangular grid, every three nodes with intersecting sensing ranges form an equilateral triangle with each side equal to  √ 3.
The minimum number of necessary and sufficient neighbor nodes of a sensor node, required to ensure the connectivity of the network, is given as Θ(log N) and ranges between 0.074 log N and 5.1774 log N [16].Accordingly, each node in a cooperation group is assumed to be able to communicate with a minimum of 6 to a maximum of 20 neighbor nodes in this paper.A node decodes the information received only from its neighbor nodes and discards the rest.
. .Path-Loss and Shadowing in a Factory Area.As the signal propagates through the walls, machines, and other installations inside a factory area, it creates a shadowing effect which results in the attenuation of the transmit power, referred to as path-loss, and is expressed as a ratio between the transmitted and received power.Path-loss is used to measure the received signal strength (RSS) at the receiver.
In order to find the RSS at each sensor from all other sensors in the cooperation group, we use the lognormal shadowing model.This is a generic model used to predict the propagation loss for a wide range of environments including free space and indoor factory environments [17].The pathloss measured in dB at a distance d from the transmitter is given by where   is the path-loss in dB,  is the path-loss exponent indicating the rate of decay of the mean signal with respect to distance, d 0 is a reference distance, and  , is a zeromean Gaussian random variable with standard deviation  representing the shadowing effect.In (1),   ( 0 ) is the path-loss in dB at a reference distance  0 , which is calculated using the Friis free-space propagation model [18].It is used to model the line-of-sight (LOS) path-loss incurred in the channel, given as where   ( 0 ) is the received signal power in Watts, P  is the transmitted signal power in Watts, and G  and G  are the gains of transmitter and receiver, respectively. is the wavelength of the carrier in meters, and L is the system losses which are not associated with propagation loss.Generally, it is more convenient to work in log domain because the transmitted and received powers are usually available in dBm and the antenna gains in dBi.Therefore, the Friis free-space equation is given in log domain as In ( 3), G  , G  , and L are taken equal to 1 as we consider unit gain antennas and the internal system losses are considered as 1, whereas the reference distance  0 is taken as 1 m.Using

Network Operation
The operation of the network is controlled by using the organize and operate protocol (OOP) [13] and also OOP with cluster heads (OOP-CH) [14].In these protocols, the nodes are first organized into cooperation groups.Then in OOP-CH, the BS chooses a number of cluster heads based on the received signal strength information (RSSI).After this, the normal operation of sensing and sending the data to the BS by using a two-phase cooperation mechanism starts.In the case of OOP, the sensing and transmit operations start after the nodes are organized into cooperation groups as there are no CH nodes used.A sequence flow diagram of the OOP-CH protocol is presented in Figure 1.The OOP has a similar flow except the controls necessary for CH-based cooperation.Upon receiving the cooperative packets from all the intermediate nodes, the BS performs majority voting-based fusion and makes a decision based on the received information.
. .Phase .In this phase, a sensor first senses the surrounding area for the intended information.After this, every sensor in the cooperation group shares its sensed information with the intermediate nodes (C nodes in the case of CHbased cooperation, as shown in Figure 2) present in its neighborhood by referring to its neighbor list, using BPSK modulation and TDMA scheme.The received signal  , at node V  , from node V  , in phase 1 is where E 1 is the transmitted symbol energy in phase 1, v  is the binary information sent from node V  , and  , is the AWGN with power spectral density, N 0 .The data packet in this phase contains the floor number, sensor ID, time-of-origin (TOO), and the sensed alarm information.See [13] for detail of the data packet.
. .Phase .In this phase, each intermediate node (C node in the case of CH-based cooperation, as shown in Figure 2)   makes a cooperative data packet by combining the information received from the cooperating nodes within its cooperation group, V, during the first phase.Then the cooperative data packet denoted by x  at a node j, which is formed by the aggregation of the received and amplified packets, is transmitted to the BS in a TDMA manner.The received signal at the BS,  , , can be written as where  , represents the lognormal fading channel coefficient from node V  to the BS and E 2 is the transmitted symbol energy in phase 2.  , is the AWGN at destination D from node j, with power spectral density, N 0 .The signal from the source node i, relayed via the relay node j and received at the destination D, can be written as where  , = 1/√ 1 | , | 2 +  0,, represents the amplification factor used at relay node V  with a corresponding source node V  and   , = (√ 2 /√ 1 | , | 2 +  0,, ) ,  , +  , .Since the noise terms  , and  , can be assumed independent, then the equivalent noise   , is a zero-mean complex Gaussian random variable with variance given as . .Reliability Factor Feedback Algorithm.The base station receives the information from the intermediate nodes (either C CH nodes or all N node in the cooperation group), decodes the information, and combines it at the fusion center by using majority rule decision.In the case of OOP-CH, a majority rule decision, which consists of votes from C CH nodes in the cooperation group V, is mathematically represented as BS Node

Phase 1
Phase 2 Figure 2: Depiction of the two-phase cooperative communication system.In Phase 1, for example, the sensor  1 sends its information to all CH sensors ( 2 ,  3 ,. ..,C ) during its allocated time slot.Similarly, all the other sensors transmit their information to CH sensors.In Phase 2, only the CH sensors then make a cooperative packet of the aggregated data and transmit it to the destination, .
where   () is the ith cooperative symbol received from a sensor j,   is the weight associated with the reliability of information received from each intermediate node, and (.) is an indicator function.In the case of OOP, the summation in ( 8) is taken over all N nodes in the cooperation group.
In order to achieve a highly reliable result after fusion of the received information, we propose a reliability factor feedback algorithm.In this algorithm we compute a reliability factor for each of the intermediate nodes (C nodes in the case of CH-based cooperation and N nodes in the case of F-Rep.cooperation) by using the result obtained after information fusion at the fusion center.The reliability factor is then fed back to the majority rule fusion and used as the weight   of each intermediate node involved in the fusion process.Figure 3 shows a block diagram of the proposed fusion mechanism with the RFFA for OOP-CH scheme.In case of OOP, the number of sensors are N instead of C.
. . .Computing the Reliability Factor.The following steps are taken in order to compute the reliability factor,  for each sensor.
Definition .An error report, , is defined as a reported observation by a sensor which is different from the final decision after majority rule fusion.
(1) Find all the error reports made by each sensor in one transmission.(2) Divide the number of error reports of each sensor by the total number of sensors in a cooperation group.
(3) Subtract the computed value from 1 to get the reliability factor.
. . .Updating the Weights.After the reliability factor has been computed, it is used as the weight of each sensor in the decision-making process.A high reliability factor value of a sensor results in heavier weight of the corresponding sensor in the voting and decision-making process.
(1) Take an average of the reliability factors of each sensor in the cooperation group, received from the intermediate sensors involved in the fusion process.Divide the computed value by the total number of intermediate sensors (C nodes in the case of CHbased cooperation and N nodes in the case of F-Rep.cooperation).
(2) Feedback the computed weights   to the fusion process given by ( 8) and as shown in Figure 3.

Performance Analysis
In this section, we analyze the performance of the proposed CH cooperation scheme with the help of symbol error rate (SER), latency in transmission, and power consumption.
. .Symbol Error Rate.The proposed system is a dual-hop communication system with multiple branches.Each relay has multiple branch inputs and repeats the symbols for its neighbor nodes, in a single branch output by using AF scheme, in a TDMA manner to ensure orthogonality of the transmission.The resulting SER can be approximated by the following equation derived in our previous work [13, Theorem 1], ( ,, ) where (()) = (1/) ∫ (−1)/ 0 (1/()), M is the modulation symbol size,   = sin 2 (/),  ,, represents the instantaneous SNR per relay node at the destination, and  2 , ,  2 , are the variances of the Rayleigh fading channel coefficients  , and  , , respectively.For the proof of the result in (11), please see [13] Appendix A.
From (11), we get   as the probability of error in the information received from an intermediate sensor.Since this is a cooperative system with multiple nodes sending information about the same event, therefore, the number of votes needed to decide the final outcome, i.e., the majority, is  = ⌈(+1)/2⌉ in the case of F-Rep.cooperation and  = ⌈(C+ 1)/2⌉ in the case of CH-based cooperation.The respective probability of error in the consensus can be computed by using the Binomial theorem, . .Latency.For the sake of a fair comparison between noncooperative and cooperative systems, we assume a traditional relay-based scheme with dual-hop communication for the noncooperative method.In this scheme, a relay node forwards the data from a source node in the second hop towards the BS without any cooperative mechanism involved.Let B represent the number of bits per symbol, and the symbol duration is given by   = 1/  , where f  is the symbol rate.Then, the throughput in case of noncooperation (  ), F-Rep.cooperation ( -.), and CH-based cooperation ( ℎ ) dualhop communication can be written as where the time taken by two hops to transmit the symbol to BS is represented by the addition in the denominator.
. .Power Consumption.In this subsection, we compute the power consumption of the proposed system.In order to simplify our analysis, we do not take into account the power consumed by each sensor during sensing, and the power consumed by the usual processing operations at the BS and the intermediate nodes as these power consumption operations are common among all the schemes compared here in this paper.Hence, we will compute the power consumed in transmitting the information to the BS and the information fusion operation at the BS and compare the noncooperation, F-Rep.cooperation, and CH cooperation schemes.We first compute the energy consumed by these operations and then convert it to power in dBm units as it is easy to visualize.Let E  , E  , and E  represent the energy consumed by the transmit operation by a sensor, idle listening, and reception at a sensor node/BS, respectively.In the case of noncooperative dual-hop communication, each node transmits with energy E  in phase 1 and the other  − 1 nodes receive this information with energy E  .In phase 2, each relay node transmits with energy E  to the BS while the other  − 1 nodes remain idle, and the BS receives each node's data with energy E  .Thus the total power consumed (P  ) is given as For computing the power consumption of the cooperative dual-hop communication, let E  represent the energy consumed by the fusion operation at the BS.The total power consumed by F-Rep.cooperation (P -.) and CH cooperation (P ℎ ) is given as where NN and C terms in the numerator of ( 17) and ( 18) represent the number of multiply-and-accumulate operations performed to compute the fusion result for either N or C cooperative packets each containing N number of observations as given in (8).Also, in the second term in the numerator of (18), N is replaced by C as there are C CH nodes transmitting to the BS instead of all the N relay nodes.

Simulation Results
In order to carry out simulations, we assumed an indoor communication environment with an area of 100 m × 100 m.The indoor area is assumed to contain heavy machines and hard partitioned walls.Rayleigh fading with NLOS lognormal shadowing channel parameters (standard deviation  = 7, path-loss exponent  = 3) is used to model the indoor factory environment [19].The ISM band carrier frequency of 2.4 GHz is used with a transmit power of 1 mW.Suppose that a fault in the operation or state of the machine at a certain location is evident from higher temperature at that location.We use Gaussian random fields to model this information over the entire area.As the field varies from high temperature to low, four different kinds of alarms, i.e., Danger, Warning, Caution, and OK, are generated, respectively.For the simulation, we choose a cooperation group of either 18 or 12 nodes with 5 or 3 CH nodes, respectively, and the results are averaged over 10,000 sensing operations.To observe the advantage of using RFFA clearly, we deliberately introduced error in the transmission from 3 of the 18 nodes for F-Rep.cooperation and 1 of the 5 CH nodes for CH cooperation in the second phase.The simulation parameters are summarized in Table 1.
. .SER.In order to verify our approximated numerical result in (13), we simulate a cooperation group of 18 nodes with 3 CH nodes.Figure 4 shows the plot of the result obtained in (13) compared with the SER obtained from simulation of the CH cooperation scenarios.A similar result for F-Rep.cooperation (12) was published in our previous work [13] and is not shown here.The result shows that the approximation works well to predict the performance of the proposed scheme.
. .Latency and Power Consumption.In order to compute the latency and power consumption of the proposed scheme in a practical scenario, we take the example of a Zigbee  (13).In this experiment, 3 CH nodes were chosen from a cooperation group of 18.   (IEEE 802.15.4) based implementation [20].For the sensor nodes, we utilize the data from Silicon Lab's EFR32 Mighty Gecko Mesh Networking Wireless SoC, which can be used to implement a Zigbee, Bluetooth, Thread, or a proprietary 2.4 GHz wireless sensor network [21].Therefore, we take T  = 50 s [20], E  = 0.05 J, E  = 0.14 nJ, E  = 1.02 J [21], and E  = 0.665 J [22].The latency and power consumption results of the F-Rep.cooperation (each node transmits a cooperative packet in phase 2 to the BS, as in [13]), CH cooperation (each CH node transmits a cooperative packet in phase 2 to the BS, as in [14]), and the relayed transmission (a relay node forwards the data for a source node without any cooperation mechanism) are shown in Figures 5 and 6, respectively.The results show increased latency and power   consumption in the case of F-Rep.cooperation and CH cooperation.However, the increase in power consumption in case of F-Rep.cooperation, reported in [13], has been reduced from ∼2 dB to ∼0.8 dB for N = 12 and from ∼2.2 dB to ∼0.2 dB for N = 50.The reduction is because the number of relay nodes in the second phase has been reduced from N to C and only C CH nodes now transmit to the BS in the second phase instead of all the N nodes.The latency, shown in Figure 6, has been reduced from ∼145 ms to ∼53 ms for N = 12 and from ∼2.7 s to ∼220 ms for N = 50, by using CH cooperation method.This is also because of the reduction in the number of relay nodes in the second phase from N to C. As the number of relay nodes reduce to a suitable number in the form of CH nodes, necessary to obtain cooperation benefit, it helps reduce the power consumption as well the time required to transmit all the information to the BS in order for the BS to be able to make a decision.The results of CH cooperation show a significant improvement in the latency and energy consumption on that reported in [13] and this will be helpful in achieving the low-latency design goal of future communication systems.
. .False Alarm and Packet Delivery Rates.We have used the false alarm rate (FAR) and packet delivery rate (PDR) metrics to compare our results with some of the previous works including our own work in [13].The FAR and PDR were calculated and averaged over a range of SNR (0 to 30 dB) with a total of 10,000 packets for N = 12 (F-Rep.cooperation) and C = 5 (CH cooperation).In order to keep the comparison fair, we use the PDR result of [5], when no relay selection mechanism is used, and the PDR result for IWSN given by [6].As shown in Table 2, the CH cooperation scheme shows significant improvement in the FAR when compared to [9], performs better than [8] and shows increased FAR from that reported in [13].This work shows an increased FAR than that of [13] because the benefit of cooperation has been reduced from full repetition (N nodes) to partial repetition (C nodes)  in the second phase.The PDR of the CH cooperation scheme is higher than that reported in [5,6] but lower than the PDR reported in [4,13].The reason for this is [4][5][6] use mechanisms of retransmission, guide-path discovery, and relay selection, respectively, which increases the overhead significantly.In contrast, our work does not involve these overheads and therefore, our results show a higher PDR and lower FAR as compared to these works.Again, the PDR is lower than that of [13] because the benefit of cooperation has been reduced from full repetition (N nodes) to partial repetition (C nodes) in the second phase.Table 3 shows the FAR and PDR results of our proposed RFFA scheme in both F-Rep.(N=18) and CH (C=5) cooperation methods.Notice that the FAR and PDR of both F-Rep.and CH cooperation schemes drop down significantly from that in Table 2 because of the deliberately induced error in the cooperating nodes (3 nodes in case of F-Rep.and 1 node in case of CH cooperation).Using RFFA mitigates this problem by using the reliability factor associated with each node and improves the FAR and PDR as shown by WF-Rep.and WCH columns in Table 3.This result shows that our proposed RFFA helps in increasing the reliability of the final decision even in the presence of adversely affected sensor nodes because of communication link failure or node failure.The reason for improved FAR and PDR in both F-Rep.and CH cooperation methods is because the proposed algorithm helps reduce errors in the final decision at the BS by disregarding the information from the compromised sensors in the cooperation group.
. .Packet Error Rate. Figure 7 compares the packet error rate (PER) of the proposed CH, F-Rep., relayed, and direct transmission schemes.The results show that, using the proposed RFFA, the error induced in either the intermediate nodes (CH cooperation) or any of the cooperating nodes (F-Rep.cooperation) is successfully mitigated, as shown by the dashed lines for both WCH and WF-Rep.cooperation.The F-Rep.cooperation and CH cooperation schemes achieve, on average, 10 −2 probability of error at almost 20 dB and 12 dB lower SNR compared with the direct (noncooperation) schemes, respectively.Despite the extra energy (∼0.5 dB for CH and ∼2 dB for F-Rep., 18 nodes, Figure 5) spent by the network in performing cooperation, the amount of energy saving that can be achieved by using the CH cooperation and F-Rep.cooperation is ∼11 dB and ∼18 dB, respectively.The reduced energy saving in CH scheme is a result of the loss in performance due to using fewer nodes to relay the cooperative packet as compared to F-Rep.cooperation.Using the proposed RFFA mechanism, a further improvement of ∼2 dB and ∼1 dB is achieved in energy savings for CH and F-Rep.cooperation, respectively, at 10 −3 BER.Thus, the CH cooperation scheme is able to reduce the latency and energy consumption of the network at the expense of some performance benefits.Using RFFA (WCH and WF-Rep.cooperation) allows us to save further energy and at the same time, improve the PER of the received data.

Conclusion
In this paper, we have proposed an algorithm called reliability factor feedback algorithm to improve the reliability of decisions made after sensor data fusion in relay-based cooperative WSNs to monitor the indoor industrial environment.We have analyzed the SER, power consumption, and latency of the proposed scheme.With the proposed algorithm, the reliability of the final decision has been increased significantly at the fusion center.Along with the increased reliability, significant energy savings have been achieved, which can be very beneficial in increasing the lifetime of the sensors.

Figure 1 :
Figure 1: The proposed organize and operate protocol with cluster heads (OOP-CH) for WSN.

Figure 3 :
Figure 3: Block diagram of the reliability factor feedback algorithm.

Wireless 1 SERFigure 4 :
Figure 4: Comparison of CH simulation and the approximated result, given in(13).In this experiment, 3 CH nodes were chosen from a cooperation group of 18.
sensor nodes in a cooperation group

Figure 5 :
Figure 5: Comparison of power consumption results of the proposed CH scheme, F-Rep.scheme, and no cooperation scheme.

Figure 6 :
Figure 6: Comparison of latency results of the proposed CH scheme, F-Rep.scheme, and no cooperation scheme.

Figure 7 :
Figure 7: Comparison of the PER for direct, relayed, F-Rep.and CH cooperation showing the proposed weighted CH and weighted F-Rep.simulation results.

Table 2 :
Comparison with related works.

Table 3 :
Effect of RFFA on performance.