Introduction

Wireless Communication has seen vast advancement in recent years with many latest technologies, and protocols. This impact has made wireless sensor networks (WSNs) the most influential for many real-time applications. WSNs are also influencing other domains like—artificial intelligence, machine learning [1], internet of things [2]. These domains are data-driven and need real-time data for analysis and prediction. This application requirement is fulfilled by WSNs by providing real-time data collection from the environment. This data collection is automated without the actual need for human intervention in many of the remote locations. This feature of WSNs makes it an integral component of the majority of automated applications [3] like—home automation, industrial applications, military and surveillance applications, intelligence traffic management, the health sector, IoT, and many others.

These features of WSNs create a huge response in the business sectors and making a huge demand in the market. As per the report, the overall market size of WSNs was $85.7 billion in 2021 and it is to be expected to increase to $108.6 billion by 2028 [4, 5]. This impact and numerous applications of WSNs are the main motives for this research work to contribute to the WSNs research sector by addressing some of its challenges and issues.

Issues and Challenges in WSN

WSNs have gained an impact because of their architecture and remote accessing ability in hostile environments. The reason for this WSNs is low-cost sensor devices come with minute components. This makes WSNs compromise some functionality like—limited energy sources because of low battery capacity, limited memory and storage, and physical damage to the sensor nodes [6,7,8]. These properties of WSNs may affect their performance in terms of the reduced lifetime of the sensor nodes, fault in data transmission to the destination, and loss of critical information in between operations. Some of the other issues and challenges depending on these properties are presented in Tables 1, and 2.

Table 1 Issues in WSN
Table 2 Challenges in WSN

Considering these issues and challenges in WSNs, this paper focuses on addressing some aspects of WSNs to enhance their performance. From the initial survey, it is identified that there exist numerous approaches to address various challenges, as listed in Table 3.

Table 3 Performance enhancing approaches

Related Work

This section focuses on identifying some of the specific approaches in WSNs that are mainly concerned with energy efficiency, fault tolerance, data availability, and multiple base station.

Fault-Tolerance Review

Researchers in [13] have identified and classified faults in the WSNs into various types, as shown in Fig. 1. Each stage in WSNs has some types of faults which affect the performance of the WSNs. A component fault like—sensor nodes and base station, or network fault–intermediate nodes failure, affects overall network performance.

Fig. 1
figure 1

Types of faults in WSNs [13]

A Robust Mutual Authentication Protocol for WSN with Multiple Base-Stations [14]

A robust and effective multiple base station protocol is proposed in the existing work. This protocol also addresses the various security issues in WSNs and analysis has been carried out with respect to the security aspect. Authentication is one of the major security parameters that need to be considered for most applications. Figure 2 shows the network topology with multiple base stations. These multiple base stations will optimize the energy consumption of the sensor nodes by reducing the transmission distance.

Fig. 2
figure 2

Multiple base station architecture in WSN [14]

Fault-Tolerant Optimized Multipath Routing in WSN [15]

This reference addresses one of the major limitations of the sensor nodes, which is battery limitation. Here, power optimization is focused on the implementation of clustering techniques with multipath routing. This is based on the LEACH Clustering with multi-path routing. This is implemented considering various parameters like—link quality, delay, and distance within the cluster and outside the cluster.

Energy-Efficient and Fault-Tolerant Drone Base Station [16]

A heterogeneous fault-tolerant algorithm is proposed considering high-end sensor nodes with more battery capacity. In which the high energy or advanced sensor nodes act as a gateway for collecting the information from normal nodes. Data transmission is carried out in a multipath routing way to ensure fault tolerance within the network. Apart from the heterogenous nodes, this reference focused on addressing the issues with the static base station. To ensure the energy efficiency of the network and reduce the energy consumed for data transfer by sensor nodes a drone is used as base station. This drone base station effectively tries to aggregate the information from sensors thereby making the network energy efficient.

An Optimal Base Stations Positioning for the Internet-of-Things Devices [17]

This paper focused on addressing the challenges in multi-hop data transmission. The main problem identified here is nodes that are near to base station dissipate more energy to transfer the data with unnecessary data transmission using multi-hop.

To overcome this issue and make the network more energy efficient usage of multiple base stations and the positioning of each base station in an appropriate location is proposed in this existing work.

FEHCA: A Fault-Tolerant Energy-Efficient Hierarchical Clustering [18]

In this various issue in hierarchical clustering is identified and addressed with a new solution. Instead of electing the cluster head randomly, a uniform and density-based cluster head are elected. This ensures the uniform distribution of energy over the network and thereby enhances the overall network performance.

Clustering of WSN Based on PSO with Fault Tolerance and Efficient Multidirectional Routing [19]

To optimize the energy dissipation in the network particle swarm optimization approach is used in this paper. This clustering approach comes with a master cluster head and a surrogate cluster head. The clustering with this approach works in multidirectional routing. The role of the surrogate cluster head is to act as a temporary cluster head when there is any fault with the actual cluster head.

Towards Clustering Technique for a Fault Tolerance Mobile Agent [20]

To overcome the energy-related performance issues in WSNs a mobile agent-based clustering is proposed in this method. Using the mobile agent nodes can communicate to the base station with optimized energy dissipation. This mobile agent is assumed to be very effective to ensure the optimal energy utilization of the sensor nodes in the network.

Fault Tolerance in WSN Through Uniform Load Distribution Function [21]

A uniform cluster formation approach is used here to overcome the various energy dissipation issues in the WSNs routing algorithm. The uniform way of selecting clusters and members will be effective and distribute the load effectively within the cluster and network. This uniform load distribution ensures equal energy dissipation from all the nodes and also avoids fault tolerance in the network.

Intelligent Fault-Tolerance Data Routing Scheme for IoT-Enabled WSNs [22]

An IoT-based application requirement of WSNs is discussed in this paper highlighting the application features and issues of WSNs in IoT. IoT works with real-time data collection and application information any fault or link failure in the network will fail applications. A reinforcement learning-based algorithm is used here to identify the faulty nodes in the network. Finally, this is evaluated for detecting false alarms, accuracy, throughput, and lifetime of the network.

Proposed Fault-Tolerance Approach

Section “Related Work” focused on identifying and analyzing the various existing approaches of WSNs to enhance the performance avoiding faults in the network. Table 4 summarizes the analysis of the existing approaches.

Table 4 Analysis of existing

Referring Table 4, the majority of the algorithm have focused on working on the heterogeneous nodes considering drones, mobile agents, and multiple base stations and positioning the base stations for fault tolerance and energy efficiency. In this paper, the proposed approach works on integrating some of the existing concepts along with some unique features to enhance efficiency and reduce the fault in the network.

Metrics and Approaches of Proposed Fault-Tolerance Clustering

Large Scale topology creation: in the proposed network topology 100 sensor nodes are used over the network area of 1000 × 1000 this will give the exposure of WSNs on large scale with numerous nodes and analyze the situation for optimizing the base station as in Fig. 3.

Fig. 3
figure 3

Proposed topology

Dual base station: the proposed technique aims to focus on the usage of the dual base station. The novelty involved here is positioning the Base Stations based on the sensor node's density or population of the sensor nodes. Since the network lifetime is dependent on the sensor nodes, the main focus must be given to optimizing the energy of these nodes to communicate to the Base Stations. Figure 4 shows the topology of the proposed technique.

  • Positioning of base stations: the 2-base station is placed in the area, where the sensor density or population is very high. This process makes the sensor nodes spend less amount of energy transferring data to the base station

  • Changing the base station position: another novelty of the proposed techniques changing the position of these dual base stations during the half round of simulation time to balance the load between the dual base stations.

Fig. 4
figure 4

Initial network state

Other Parameters Considered for the Proposed Algorithm

  • Number of sensors considered by implementation

  • The energy of the sensor nodes

  • Cluster density

  • Energy dissipate model: E = (ETX ∗ EDA) ∗ K + EFS ∗ K(EBS ∗EBS), EDA,EFS, EBS are the node’s circuit energy required for data aggregation, antenna energy dissipation and energy required for transmission

Proposed Algorithm—Muti-Hop Fault-Tolerance Clustering with Dual Base Station

Step-1: Initially sensor nodes are deployed on the large scale WSNs

Step-2: Two mobile base stations will be deployed in the given network area. A base station will be relocated within 2 defined locations over some time.

Step-3: Initiate the clustering process by selecting random nodes on CH nearby nodes as member nodes.

Step-4: Once the cluster formation is done data transfer will be done within the cluster.

Step-5: Once the cluster is formed each cluster head will identify the nearest other cluster head or base station.

  • If the base station is the nearest node, then the data will be transmitted directly to the base station.

  • If the other cluster head is the nearest node, then multi-hop data transmission will be initiated.

  • Either way ensures fault tolerance in the network, since data will reach the base station directly or through multi-hop without them getting affected by any node failure.

Step-6: At the half round of simulation the dual base station will be swapped with the next high-density nodes region and the same clustering with the multi-hop process will be carried out.

Step-7: If some of the normal nodes are nearest to the base station compared to cluster heads then data transmission will be done directly to the base station.

Results and Discussion

In this section, a detailed discussion of the result achieved through the proposed algorithm is carried out. Figure 4 shows the initial network state of the proposed approach with 2 base stations at different positions. Figures 5 and 6 represent the intermediate cluster process with a multi-hop cluster head, where the data from one cluster head will transfer to another cluster head based on the nearest distance. Finally, the data will be transferred to the nearest base station.

Fig. 5
figure 5

Clustering process state

Fig. 6
figure 6

Intermediate clustering process state

Figures 5, 6, 7, 8 show the clustering process from the initial state to the final state. Each cluster is represented by green color lines, where the center nodes are cluster heads. Each black lines represent the data transfer between the cluster head to the cluster head. Blue and Pink dotted lines represent the data transfer from the cluster head to the nearest base station.

Fig. 7
figure 7

Final clustering process state

Fig. 8
figure 8

Clustering process state

The main highlight and the novelty of this proposed approach are changing of base station position after half rounds of simulation to ensure equal energy balancing. Second, nodes near to base station will not participate in any clustering process. This way ensures the nodes will not spend energy with multi-hop clustering communication.

Figure 7 represents the clustering process at the final state of the simulation, where most of the nodes failed but with multi-hop and dual base station node fault has been reduced.

Network Performance

The proposed approach resulted in better performance of the WSNs. The performance is measured in terms of through packets and the network lifetime. Figures 9 and 10 show the packets transferred to cluster heads through multi-hop and two base stations, respectively. Where the x-axis represents the number of rounds and the y-axis represents the average packets transferred.

Fig. 9
figure 9

Packets transferred to various cluster head

Fig. 10
figure 10

Packets transferred to both base station

Table 5 presents the percentage of alive nodes in the network for 1000 rounds of simulation with 100 nodes deployed. From the table, one can observe the proposed approach is efficient compared to LEACH and FEHCA algorithms. The reason for this performance enhancement is because of avoiding the fault in the network and the usage of multi-hop and multiple base stations.

Table 5 Lifetime comparison of proposed approach with existing approaches

Conclusion

WSNs has a variety of applications with the integration of many other technologies like—machine learning, artificial intelligence, internet of things. To enhance the performance of the networks in this paper a detailed study is carried out in identifying the various issues and challenges in the WSNs. The fault tolerance, energy efficiency, and base station positioning are addressed with a different approach to enhancing the performance of the network. The multi-hop clustering approach proposed with the dual base station works effectively. The results justify the performance enhancement in terms of throughput and network lifetime.